Add approxidate test calls.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2005-11-15 00:07:04 -08:00
parent 3c07b1d194
commit f30c95dd76

View File

@ -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;
}