summaryrefslogtreecommitdiffstats
path: root/date.c
Commit message (Expand)AuthorAgeFilesLines
* 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 boolÆ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 formatsJeff 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 conversionJunio 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 futureJeff 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 formatBeat 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 whileJeff King2013-10-241-1/+1
* | | Merge branch 'jc/prune-all'Junio C Hamano2013-05-291-0/+22
|\ \ \
| * | | date.c: add parse_expiry_date()Junio C Hamano2013-04-171-0/+22
| | |/ | |/|
* | | Fix time offset calculation in case of unsigned time_tMike Gorchak2013-02-251-2/+8
* | | date.c: fix unsigned time_t comparisonMike Gorchak2013-02-251-1/+1
|/ /
* | Merge branch 'jc/maint-filter-branch-epoch-date'Junio C Hamano2012-07-221-1/+1
|\ \
| * | date.c: Fix off by one error in object-header date parsingJunio C Hamano2012-07-121-1/+1
* | | i18n: mark relative dates for translationJonathan Nieder2012-04-241-39/+56
* | | Merge branch 'jc/parse-date-raw'Junio C Hamano2012-02-101-0/+30
|\| |
| * | parse_date(): '@' prefix forces git-timestampJunio C Hamano2012-02-031-1/+2
| * | parse_date(): allow ancient git-timestampJunio C Hamano2012-02-031-0/+29
* | | date.c: Support iso8601 timezone formatsHaitao Li2011-09-121-11/+23
|/ /
* | date: avoid "X years, 12 months" in relative datesMichael J Gruber2011-04-201-2/+3
* | Export parse_date_basic() to convert a date string to timestampJonathan Nieder2010-07-151-8/+6
* | parse_date: fix signedness in timezone calculationJeff King2010-07-051-1/+1
* | Merge branch 'rr/parse-date-refactor'Junio C Hamano2010-06-211-19/+37
|\ \
| * | Refactor parse_date for approxidate functionsRamkumar Ramachandra2010-06-071-19/+37
* | | Add "Z" as an alias for the timezone "UTC"Marcus Comstedt2010-05-181-1/+2
|/ /