Add approxidate test calls.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
3c07b1d194
commit
f30c95dd76
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user