diff --git a/test-date.c b/test-date.c
index 6fe3e28b9d379e1d67287d41aa3697696532fbb4..62e8f2387a1cab97ec1c71d1993d082274e17bf5 100644 (file)
--- a/test-date.c
+++ b/test-date.c
-#include <stdio.h>
-#include <time.h>
-
#include "cache.h"
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;
}