From f30c95dd76800fbd66fb66180d67c09bab678282 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 15 Nov 2005 00:07:04 -0800 Subject: [PATCH] Add approxidate test calls. Signed-off-by: Junio C Hamano --- test-date.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-date.c b/test-date.c index 6fe3e28b9..93e802759 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; } -- 2.30.2