28 Commits (6053c04b88d28b31d752dc8783ff59324b6a82f7)

Author SHA1 Message Date
Stephen P. Smith 110a6a161d Add `human` date format tests. 6 years ago
Stephen P. Smith b841d4ff43 Add `human` format to test-tool 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
Nguyễn Thái Ngọc Duy a801a7cfc7 t/helper: merge test-date into test-tool 7 years ago
Jeff King 6eced3ec5e date: use localtime() for "-local" time formats 8 years ago
Jeff King 22280d7ee7 t0006: check --date=format zone offsets 8 years ago
René Scharfe c3fbf81a85 strbuf: let strbuf_addftime handle %z and %Z itself 8 years ago
Johannes Schindelin efac8ac84b t0006 & t5000: skip "far in the future" test when time_t is too limited 8 years ago
Johannes Schindelin a07fb0507f t0006 & t5000: prepare for 64-bit timestamps 8 years ago
Jeff King 642833db78 date: add "unix" format 9 years ago
Jeff King 1a2a1e8eb9 date: document and test "raw-local" mode 9 years ago
Jeff King 6b9c38e14c t0006: skip "far in the future" test when unsigned long is not long enough 9 years ago
Jeff King bab748371a local_tzoffset: detect errors from tm_to_time_t 9 years ago
Jeff King 36d6792157 t0006: test various date formats 9 years ago
Jeff King fdba2cdec4 t0006: rename test-date's "show" to "relative" 9 years ago
Jeff King d37239536c approxidate: allow ISO-like dates far in the future 10 years ago
Jiang Xin 4fa7e1989f Fix tests under GETTEXT_POISON on relative dates 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
Brandon Casey 0cc4da3036 t/t0006: specify timezone as EST5 not EST to comply with POSIX 15 years ago
Jeff King 9ba0f0334d parse_date: fix signedness in timezone calculation 15 years ago
Jeff King 6b097788f8 t0006: test timezone parsing 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
Jeff King 34dc6e73b0 tests: add date printing and parsing tests 16 years ago