summaryrefslogtreecommitdiff
path: root/date.c
Commit message (Expand)AuthorAgeFilesLines
* date API: add and use a date_mode_release()Ævar Arnfjörð Bjarmason2022-02-161-0/+5
* date API: provide and use a DATE_MODE_INITÆvar Arnfjörð Bjarmason2022-02-161-2/+1
* date API: create a date.h, split from cache.hÆvar Arnfjörð Bjarmason2022-02-161-0/+1
* strbuf_addftime(): handle "%s" manuallyJeff King2021-11-041-1/+1
* comments: avoid using the gender of our usersFelipe Contreras2021-06-161-1/+1
* date.c: allow compact version of ISO-8601 datetimeĐoàn Trần Công Danh2020-04-241-0/+14
* date.c: skip fractional second part of ISO-8601Đoàn Trần Công Danh2020-04-241-0/+12
* date.c: validate and set time in a helper functionĐoàn Trần Công Danh2020-04-241-4/+15
* date.c: s/is_date/set_date/Đoàn Trần Công Danh2020-04-231-11/+11
* date.c: switch to reentrant {gm,local}time_rDoan Tran Cong Danh2019-11-301-8/+10
* Quit passing 'now' to date codeStephen P. Smith2019-09-121-14/+13
* completion: add more parameter value completionNguyễn Thái Ngọc Duy2019-02-201-0/+4
* Merge branch 'lt/date-human'Junio C Hamano2019-02-061-22/+126
|\
| * Add `human` format to test-toolStephen P. Smith2019-01-291-4/+17
| * Replace the proposed 'auto' mode with 'auto:'Stephen P. Smith2019-01-221-7/+8
| * Add 'human' date formatLinus Torvalds2019-01-181-20/+110
* | show_date_relative(): drop unused "tz" parameterJeff King2019-01-241-4/+4
* | approxidate: fix NULL dereference in date_time()Jeff King2018-11-071-1/+1
* | approxidate: handle pending number for "specials"Jeff King2018-11-021-27/+33
|/
* Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin2018-05-061-1/+1
* Merge branch 'ab/strbuf-addftime-tzname-boolify'Junio C Hamano2017-07-061-1/+1
|\
| * strbuf: change an always NULL/"" strbuf_addftime() param to boolab/strbuf-addftime-tzname-boolifyÆvar Arnfjörð Bjarmason2017-07-011-1/+1
* | Merge branch 'rs/strbuf-addftime-zZ'Junio C Hamano2017-06-221-2/+12
|\ \ | |/
| * date: use localtime() for "-local" time formatsrs/strbuf-addftime-zZJeff King2017-06-151-2/+12
| * strbuf: let strbuf_addftime handle %z and %Z itselfRené Scharfe2017-06-151-1/+1
* | date.c: abort if the system time cannot handle one of our timestampsJohannes Schindelin2017-04-271-2/+15
* | timestamp_t: a new data type for timestampsJohannes Schindelin2017-04-271-33/+33
* | PRItime: introduce a new "printf format" for timestampsJohannes Schindelin2017-04-231-13/+13
* | parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin2017-04-231-3/+3
|/
* date: add "unix" formatJeff King2016-07-271-0/+8
* local_tzoffset: detect errors from tm_to_time_tJeff King2016-06-201-0/+2
* date: make "local" orthogonal to date formatJeff King2015-09-031-25/+45
* date: check for "local" before anything elseJohn Keeping2015-09-031-3/+3
* introduce "format" date-modeJeff King2015-06-291-1/+8
* convert "enum date_mode" into a structJeff King2015-06-291-18/+25
* Merge branch 'jc/epochtime-wo-tz'Junio C Hamano2015-05-051-5/+9
|\
| * parse_date_basic(): let the system handle DST conversionjc/epochtime-wo-tzJunio C Hamano2015-04-151-2/+6
| * parse_date_basic(): return early when given a bogus timestampJunio C Hamano2015-04-151-3/+3
* | Merge branch 'jk/approxidate-avoid-y-d-m-over-future-dates'Junio C Hamano2015-01-071-9/+12
|\ \
| * | approxidate: allow ISO-like dates far in the futurejk/approxidate-avoid-y-d-m-over-future-datesJeff King2014-11-131-2/+2
| * | pass TIME_DATE_NOW to approxidate future-checkJeff King2014-11-131-7/+10
| |/
* | Merge branch 'jk/commit-author-parsing'Junio C Hamano2014-09-191-6/+7
|\ \
| * | date: use strbufs in date-formatting functionsJeff King2014-08-271-6/+7
| |/
* | pretty: provide a strict ISO 8601 date formatbb/date-iso-strictBeat Bolli2014-08-291-1/+13
|/
* i18n: fix uncatchable comments for translators in date.cJiang Xin2014-04-171-1/+1
* Merge branch 'jk/commit-dates-parsing-fix'Junio C Hamano2014-03-141-2/+21
|\
| * log: do not segfault on gmtime errorsJeff King2014-02-241-2/+4
| * date: check date overflow against time_tJeff King2014-02-241-0/+17
* | Merge branch 'jk/date-c-double-semicolon'Junio C Hamano2013-10-301-1/+1
|\ \
| * | drop redundant semicolon in empty whilejk/date-c-double-semicolonJeff King2013-10-241-1/+1