提交 f30c95dd 编写于 作者: J Junio C Hamano

Add approxidate test calls.

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 3c07b1d1
......@@ -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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册