summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Stephen P. Smith <ischis2@cox.net>2019-01-28 20:50:16 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-29 09:40:08 -0800
commit110a6a161d304cac5e50306c70510f38000224bb (patch)
tree51afaaebf3fe0c25e22bd9e47123479a87d8deb5 /t/helper
parentAdd `human` format to test-tool (diff)
downloadtgif-110a6a161d304cac5e50306c70510f38000224bb.tar.xz
Add `human` date format tests.
When using `human` several fields are suppressed depending on the time difference between the reference date and the local computer date. In cases where the difference is less than a year, the year field is supppressed. If the time is less than a day; the month and year is suppressed. Use TEST_DATE_NOW environment variable when using the test-tool to hold the expected output strings constant. Signed-off-by: Stephen P. Smith <ischis2@cox.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
0 files changed, 0 insertions, 0 deletions