From: Junio C Hamano Date: Tue, 15 Nov 2005 08:07:04 +0000 (-0800) Subject: Add approxidate test calls. X-Git-Tag: v0.99.9k~3^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f30c95dd76800fbd66fb66180d67c09bab678282;p=git.git Add approxidate test calls. Signed-off-by: Junio C Hamano --- diff --git a/test-date.c b/test-date.c index 6fe3e28b..93e80275 100644 --- a/test-date.c +++ b/test-date.c @@ -15,6 +15,9 @@ int main(int argc, char **argv) parse_date(argv[i], result, sizeof(result)); t = strtoul(result, NULL, 0); printf("%s -> %s -> %s", argv[i], result, ctime(&t)); + + t = approxidate(argv[i]); + printf("%s -> %s\n", argv[i], ctime(&t)); } return 0; }