summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c07b1d)
raw | patch | inline | side by side (parent: 3c07b1d)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 15 Nov 2005 08:07:04 +0000 (00:07 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 17 Nov 2005 07:54:37 +0000 (23:54 -0800) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
test-date.c | patch | blob | history |
diff --git a/test-date.c b/test-date.c
index 6fe3e28b9d379e1d67287d41aa3697696532fbb4..93e802759f1906665857c82c71f589b7d636b540 100644 (file)
--- a/test-date.c
+++ b/test-date.c
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;
}