]>
git.ipfire.org Git - thirdparty/git.git/blob - test-date.c
3 int main(int argc
, char **argv
)
7 for (i
= 1; i
< argc
; i
++) {
11 memcpy(result
, "bad", 4);
12 parse_date(argv
[i
], result
, sizeof(result
));
13 t
= strtoul(result
, NULL
, 0);
14 printf("%s -> %s -> %s", argv
[i
], result
, ctime(&t
));
16 t
= approxidate(argv
[i
]);
17 printf("%s -> %s\n", argv
[i
], ctime(&t
));