Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorStephen P. Smith <ischis2@cox.net>2019-01-29 06:50:16 +0300
committerJunio C Hamano <gitster@pobox.com>2019-01-29 20:40:08 +0300
commit110a6a161d304cac5e50306c70510f38000224bb (patch)
tree51afaaebf3fe0c25e22bd9e47123479a87d8deb5 /date.c
parentb841d4ff438576fe0c3f69b7d48ba46a442f162b (diff)
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 'date.c')
0 files changed, 0 insertions, 0 deletions