Skip to content

Commit

Permalink
Add approxidate test calls.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 17, 2005
1 parent 3c07b1d commit f30c95d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test-date.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit f30c95d

Please sign in to comment.