115 Commits (640f9cd5994ed2061405aa94972b1746bb0c393e)

Author SHA1 Message Date
Nguyễn Thái Ngọc Duy 5a59a2301f completion: add more parameter value completion 6 years ago
Stephen P. Smith b841d4ff43 Add `human` format to test-tool 6 years ago
Jeff King 3d42034a18 show_date_relative(): drop unused "tz" parameter 6 years ago
Stephen P. Smith 2fd7c22992 Replace the proposed 'auto' mode with 'auto:' 6 years ago
Linus Torvalds acdd37769d Add 'human' date format 6 years ago
Jeff King aa097b88e9 approxidate: fix NULL dereference in date_time() 6 years ago
Jeff King c27cc94fad approxidate: handle pending number for "specials" 6 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 7 years ago
Ævar Arnfjörð Bjarmason 3b702239d6 strbuf: change an always NULL/"" strbuf_addftime() param to bool 8 years ago
Jeff King 6eced3ec5e date: use localtime() for "-local" time formats 8 years ago
René Scharfe c3fbf81a85 strbuf: let strbuf_addftime handle %z and %Z itself 8 years ago
Johannes Schindelin 1e65a982da date.c: abort if the system time cannot handle one of our timestamps 8 years ago
Johannes Schindelin dddbad728c timestamp_t: a new data type for timestamps 8 years ago
Johannes Schindelin cb71f8bdb5 PRItime: introduce a new "printf format" for timestamps 8 years ago
Johannes Schindelin 1aeb7e756c parse_timestamp(): specify explicitly where we parse timestamps 8 years ago
Jeff King 642833db78 date: add "unix" format 9 years ago
Jeff King bab748371a local_tzoffset: detect errors from tm_to_time_t 9 years ago
Jeff King add00ba2de date: make "local" orthogonal to date format 10 years ago
John Keeping dc6d782c5d date: check for "local" before anything else 10 years ago
Jeff King aa1462cc3d introduce "format" date-mode 10 years ago
Jeff King a5481a6c94 convert "enum date_mode" into a struct 10 years ago
Junio C Hamano f6e6362107 parse_date_basic(): let the system handle DST conversion 10 years ago
Junio C Hamano 7fcec48da9 parse_date_basic(): return early when given a bogus timestamp 10 years ago
Jeff King d37239536c approxidate: allow ISO-like dates far in the future 10 years ago
Jeff King 073281e2ae pass TIME_DATE_NOW to approxidate future-check 10 years ago
Beat Bolli 466fb6742d pretty: provide a strict ISO 8601 date format 11 years ago
Jeff King c33ddc2e33 date: use strbufs in date-formatting functions 11 years ago
Jiang Xin fcaed04df6 i18n: fix uncatchable comments for translators in date.c 11 years ago
Jeff King 2b15846dbf log: do not segfault on gmtime errors 11 years ago
Jeff King 7ca36d9398 date: check date overflow against time_t 11 years ago
Jeff King 38db01b7fb drop redundant semicolon in empty while 11 years ago
Junio C Hamano 3d27b9b005 date.c: add parse_expiry_date() 12 years ago
Mike Gorchak e1033da6af Fix time offset calculation in case of unsigned time_t 12 years ago
Mike Gorchak e6e87516f5 date.c: fix unsigned time_t comparison 12 years ago
Junio C Hamano be21d167b2 date.c: Fix off by one error in object-header date parsing 13 years ago
Jonathan Nieder 7d29afd43c i18n: mark relative dates for translation 13 years ago
Junio C Hamano 2c733fb24c parse_date(): '@' prefix forces git-timestamp 13 years ago
Junio C Hamano 116eb3abfe parse_date(): allow ancient git-timestamp 13 years ago
Haitao Li ee646eb48f date.c: Support iso8601 timezone formats 14 years ago
Michael J Gruber f1e9c548ce date: avoid "X years, 12 months" in relative dates 14 years ago
Jonathan Nieder 9644c06163 Export parse_date_basic() to convert a date string to timestamp 15 years ago
Jeff King 9ba0f0334d parse_date: fix signedness in timezone calculation 15 years ago
Ramkumar Ramachandra c5043cc185 Refactor parse_date for approxidate functions 15 years ago
Marcus Comstedt 75b37e7047 Add "Z" as an alias for the timezone "UTC" 15 years ago
Junio C Hamano 93cfa7c7a8 approxidate_careful() reports errorneous date string 15 years ago
Junio C Hamano 23418ea95f date.c: mark file-local function static 15 years ago
Johan Sageryd dbc1b1f710 Fix '--relative-date' 16 years ago
Jeff King 931e8e27d9 fix approxidate parsing of relative months and years 16 years ago
Alex Riesen 33012fc429 Add date formatting and parsing functions relative to a given time 16 years ago
David Reiss 607a9e8aaa Round-down years in "years+months" relative date view 16 years ago