diff options
author | Stephen P. Smith <ischis2@cox.net> | 2019-01-28 20:50:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-29 09:40:08 -0800 |
commit | 110a6a161d304cac5e50306c70510f38000224bb (patch) | |
tree | 51afaaebf3fe0c25e22bd9e47123479a87d8deb5 /trailer.c | |
parent | Add `human` format to test-tool (diff) | |
download | tgif-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 'trailer.c')
0 files changed, 0 insertions, 0 deletions