Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
General ref log reading improvements.
[gitweb.git]
/
test-date.c
diff --git
a/test-date.c
b/test-date.c
index 6fe3e28b9d379e1d67287d41aa3697696532fbb4..93e802759f1906665857c82c71f589b7d636b540 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;
}