diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-15 09:07:04 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-17 08:54:37 +0100 |
commit | f30c95dd76800fbd66fb66180d67c09bab678282 (patch) | |
tree | d1bb16b919a119cca6ee001f755f83251a2c2964 /test-date.c | |
parent | git's rev-parse.c function show_datestring presumes gnu date (diff) | |
download | git-f30c95dd76800fbd66fb66180d67c09bab678282.tar.xz git-f30c95dd76800fbd66fb66180d67c09bab678282.zip |
Add approxidate test calls.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'test-date.c')
-rw-r--r-- | test-date.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-date.c b/test-date.c index 6fe3e28b9d..93e802759f 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; } |