Browse Source

Add approxidate test calls.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
f30c95dd76
  1. 3
      test-date.c

3
test-date.c

@ -15,6 +15,9 @@ int main(int argc, char **argv) @@ -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…
Cancel
Save