summary refs log tree commit diff
path: root/date.c
AgeCommit message (Expand)AuthorFilesLines
2022-02-16date API: add and use a date_mode_release()Ævar Arnfjörð Bjarmason1-0/+5
2022-02-16date API: provide and use a DATE_MODE_INITÆvar Arnfjörð Bjarmason1-2/+1
2022-02-16date API: create a date.h, split from cache.hÆvar Arnfjörð Bjarmason1-0/+1
2021-11-04strbuf_addftime(): handle "%s" manuallyJeff King1-1/+1
2021-06-16comments: avoid using the gender of our usersFelipe Contreras1-1/+1
2020-04-24date.c: allow compact version of ISO-8601 datetimeĐoàn Trần Công Danh1-0/+14
2020-04-24date.c: skip fractional second part of ISO-8601Đoàn Trần Công Danh1-0/+12
2020-04-24date.c: validate and set time in a helper functionĐoàn Trần Công Danh1-4/+15
2020-04-23date.c: s/is_date/set_date/Đoàn Trần Công Danh1-11/+11
2019-11-30date.c: switch to reentrant {gm,local}time_rDoan Tran Cong Danh1-8/+10
2019-09-12Quit passing 'now' to date codeStephen P. Smith1-14/+13
2019-02-20completion: add more parameter value completionNguyễn Thái Ngọc Duy1-0/+4
2019-02-06Merge branch 'lt/date-human'Junio C Hamano1-22/+126
2019-01-29Add `human` format to test-toolStephen P. Smith1-4/+17
2019-01-24show_date_relative(): drop unused "tz" parameterJeff King1-4/+4
2019-01-22Replace the proposed 'auto' mode with 'auto:'Stephen P. Smith1-7/+8
2019-01-18Add 'human' date formatLinus Torvalds1-20/+110
2018-11-07approxidate: fix NULL dereference in date_time()Jeff King1-1/+1
2018-11-02approxidate: handle pending number for "specials"Jeff King1-27/+33
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2017-07-06Merge branch 'ab/strbuf-addftime-tzname-boolify'Junio C Hamano1-1/+1
2017-07-01strbuf: change an always NULL/"" strbuf_addftime() param to boolÆvar Arnfjörð Bjarmason1-1/+1
2017-06-22Merge branch 'rs/strbuf-addftime-zZ'Junio C Hamano1-2/+12
2017-06-15date: use localtime() for "-local" time formatsJeff King1-2/+12
2017-06-15strbuf: let strbuf_addftime handle %z and %Z itselfRené Scharfe1-1/+1
2017-04-27date.c: abort if the system time cannot handle one of our timestampsJohannes Schindelin1-2/+15
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-33/+33
2017-04-23PRItime: introduce a new "printf format" for timestampsJohannes Schindelin1-13/+13
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin1-3/+3
2016-07-27date: add "unix" formatJeff King1-0/+8
2016-06-20local_tzoffset: detect errors from tm_to_time_tJeff King1-0/+2
2015-09-03date: make "local" orthogonal to date formatJeff King1-25/+45
2015-09-03date: check for "local" before anything elseJohn Keeping1-3/+3
2015-06-29introduce "format" date-modeJeff King1-1/+8
2015-06-29convert "enum date_mode" into a structJeff King1-18/+25
2015-05-05Merge branch 'jc/epochtime-wo-tz'Junio C Hamano1-5/+9
2015-04-15parse_date_basic(): let the system handle DST conversionJunio C Hamano1-2/+6
2015-04-15parse_date_basic(): return early when given a bogus timestampJunio C Hamano1-3/+3
2015-01-07Merge branch 'jk/approxidate-avoid-y-d-m-over-future-dates'Junio C Hamano1-9/+12
2014-11-13approxidate: allow ISO-like dates far in the futureJeff King1-2/+2
2014-11-13pass TIME_DATE_NOW to approxidate future-checkJeff King1-7/+10
2014-09-19Merge branch 'jk/commit-author-parsing'Junio C Hamano1-6/+7
2014-08-29pretty: provide a strict ISO 8601 date formatBeat Bolli1-1/+13
2014-08-27date: use strbufs in date-formatting functionsJeff King1-6/+7
2014-04-17i18n: fix uncatchable comments for translators in date.cJiang Xin1-1/+1
2014-03-14Merge branch 'jk/commit-dates-parsing-fix'Junio C Hamano1-2/+21
2014-02-24log: do not segfault on gmtime errorsJeff King1-2/+4
2014-02-24date: check date overflow against time_tJeff King1-0/+17
2013-10-30Merge branch 'jk/date-c-double-semicolon'Junio C Hamano1-1/+1
2013-10-24drop redundant semicolon in empty whileJeff King1-1/+1