summaryrefslogtreecommitdiff
path: root/date.c
AgeCommit message (Expand)AuthorFilesLines
2022-02-16date API: provide and use a DATE_MODE_INITLibravatar Ævar Arnfjörð Bjarmason1-2/+1
2022-02-16date API: create a date.h, split from cache.hLibravatar Ævar Arnfjörð Bjarmason1-0/+1
2021-11-04strbuf_addftime(): handle "%s" manuallyLibravatar Jeff King1-1/+1
2021-06-16comments: avoid using the gender of our usersLibravatar Felipe Contreras1-1/+1
2020-04-24date.c: allow compact version of ISO-8601 datetimeLibravatar Đoàn Trần Công Danh1-0/+14
2020-04-24date.c: skip fractional second part of ISO-8601Libravatar Đoàn Trần Công Danh1-0/+12
2020-04-24date.c: validate and set time in a helper functionLibravatar Đoàn Trần Công Danh1-4/+15
2020-04-23date.c: s/is_date/set_date/Libravatar Đoàn Trần Công Danh1-11/+11
2019-11-30date.c: switch to reentrant {gm,local}time_rLibravatar Doan Tran Cong Danh1-8/+10
2019-09-12Quit passing 'now' to date codeLibravatar Stephen P. Smith1-14/+13
2019-02-20completion: add more parameter value completionLibravatar Nguyễn Thái Ngọc Duy1-0/+4
2019-02-06Merge branch 'lt/date-human'Libravatar Junio C Hamano1-22/+126
2019-01-29Add `human` format to test-toolLibravatar Stephen P. Smith1-4/+17
2019-01-24show_date_relative(): drop unused "tz" parameterLibravatar Jeff King1-4/+4
2019-01-22Replace the proposed 'auto' mode with 'auto:'Libravatar Stephen P. Smith1-7/+8
2019-01-18Add 'human' date formatLibravatar Linus Torvalds1-20/+110
2018-11-07approxidate: fix NULL dereference in date_time()Libravatar Jeff King1-1/+1
2018-11-02approxidate: handle pending number for "specials"Libravatar Jeff King1-27/+33
2018-05-06Replace all die("BUG: ...") calls by BUG() onesLibravatar Johannes Schindelin1-1/+1
2017-07-06Merge branch 'ab/strbuf-addftime-tzname-boolify'Libravatar Junio C Hamano1-1/+1
2017-07-01strbuf: change an always NULL/"" strbuf_addftime() param to boolLibravatar Ævar Arnfjörð Bjarmason1-1/+1
2017-06-22Merge branch 'rs/strbuf-addftime-zZ'Libravatar Junio C Hamano1-2/+12
2017-06-15date: use localtime() for "-local" time formatsLibravatar Jeff King1-2/+12
2017-06-15strbuf: let strbuf_addftime handle %z and %Z itselfLibravatar René Scharfe1-1/+1
2017-04-27date.c: abort if the system time cannot handle one of our timestampsLibravatar Johannes Schindelin1-2/+15
2017-04-27timestamp_t: a new data type for timestampsLibravatar Johannes Schindelin1-33/+33
2017-04-23PRItime: introduce a new "printf format" for timestampsLibravatar Johannes Schindelin1-13/+13
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsLibravatar Johannes Schindelin1-3/+3
2016-07-27date: add "unix" formatLibravatar Jeff King1-0/+8
2016-06-20local_tzoffset: detect errors from tm_to_time_tLibravatar Jeff King1-0/+2
2015-09-03date: make "local" orthogonal to date formatLibravatar Jeff King1-25/+45
2015-09-03date: check for "local" before anything elseLibravatar John Keeping1-3/+3
2015-06-29introduce "format" date-modeLibravatar Jeff King1-1/+8
2015-06-29convert "enum date_mode" into a structLibravatar Jeff King1-18/+25
2015-05-05Merge branch 'jc/epochtime-wo-tz'Libravatar Junio C Hamano1-5/+9
2015-04-15parse_date_basic(): let the system handle DST conversionLibravatar Junio C Hamano1-2/+6
2015-04-15parse_date_basic(): return early when given a bogus timestampLibravatar Junio C Hamano1-3/+3
2015-01-07Merge branch 'jk/approxidate-avoid-y-d-m-over-future-dates'Libravatar Junio C Hamano1-9/+12
2014-11-13approxidate: allow ISO-like dates far in the futureLibravatar Jeff King1-2/+2
2014-11-13pass TIME_DATE_NOW to approxidate future-checkLibravatar Jeff King1-7/+10
2014-09-19Merge branch 'jk/commit-author-parsing'Libravatar Junio C Hamano1-6/+7
2014-08-29pretty: provide a strict ISO 8601 date formatLibravatar Beat Bolli1-1/+13
2014-08-27date: use strbufs in date-formatting functionsLibravatar Jeff King1-6/+7
2014-04-17i18n: fix uncatchable comments for translators in date.cLibravatar Jiang Xin1-1/+1
2014-03-14Merge branch 'jk/commit-dates-parsing-fix'Libravatar Junio C Hamano1-2/+21
2014-02-24log: do not segfault on gmtime errorsLibravatar Jeff King1-2/+4
2014-02-24date: check date overflow against time_tLibravatar Jeff King1-0/+17
2013-10-30Merge branch 'jk/date-c-double-semicolon'Libravatar Junio C Hamano1-1/+1
2013-10-24drop redundant semicolon in empty whileLibravatar Jeff King1-1/+1
2013-05-29Merge branch 'jc/prune-all'Libravatar Junio C Hamano1-0/+22