projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c07b1d
)
Add approxidate test calls.
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
6fe3e28
..
93e8027
100644
(file)
--- 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;
}