1#include "cache.h"
23
int main(int argc, char **argv)
4{
5int i;
67
for (i = 1; i < argc; i++) {
8char result[100];
9time_t t;
1011
memcpy(result, "bad", 4);
12parse_date(argv[i], result, sizeof(result));
13t = strtoul(result, NULL, 0);
14printf("%s -> %s -> %s", argv[i], result, ctime(&t));
1516
t = approxidate(argv[i]);
17printf("%s -> %s\n", argv[i], ctime(&t));
18}
19return 0;
20}