diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-15 00:07:04 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-16 23:54:37 -0800 |
commit | f30c95dd76800fbd66fb66180d67c09bab678282 (patch) | |
tree | d1bb16b919a119cca6ee001f755f83251a2c2964 /test-date.c | |
parent | 3c07b1d19491aa9acb9f8e86486f0b80f976edf9 (diff) | |
download | git-f30c95dd76800fbd66fb66180d67c09bab678282.tar.gz git-f30c95dd76800fbd66fb66180d67c09bab678282.tar.xz |
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 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; } |