From 85bdf27265c4800e76ad66ac35e7dda644fb3c4a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 4 Jun 2000 23:15:32 +0000 Subject: [PATCH] Use %Y instead of %y. --- lib/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.c b/lib/log.c index f17b8d9b..78d5089f 100644 --- a/lib/log.c +++ b/lib/log.c @@ -25,7 +25,7 @@ logit(int level, byte *msg, va_list args) tim = time(NULL); tm = localtime(&tim); - strftime(buf, sizeof(buf), "%d-%m-%y %H:%M:%S", tm); + strftime(buf, sizeof(buf), "%d-%m-%Y %H:%M:%S", tm); fprintf(stderr, "%s %s [%d] <%d> ", buf, progname, pid, level); vfprintf(stderr, msg, args); fputc('\n', stderr); -- 2.39.2