summaryrefslogtreecommitdiff
path: root/date.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | 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-timestampjc/parse-date-rawJunio 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
|/ /
* | Merge branch 'jc/maint-reflog-bad-timestamp'Junio C Hamano2010-01-271-8/+35
|\ \
| * | approxidate_careful() reports errorneous date stringJunio C Hamano2010-01-261-8/+35
* | | date.c: mark file-local function staticJunio C Hamano2010-01-201-1/+1
|/ /
* | Fix '--relative-date'Johan Sageryd2009-10-031-1/+1
* | fix approxidate parsing of relative months and yearsJeff King2009-08-301-1/+4
* | Add date formatting and parsing functions relative to a given timeAlex Riesen2009-08-301-63/+87
* | Further 'approxidate' improvementsLinus Torvalds2009-08-221-5/+27
* | Improve on 'approxidate'Linus Torvalds2009-08-221-30/+63