From: Martin Mares Date: Sun, 4 Jun 2000 23:15:32 +0000 (+0000) Subject: Use %Y instead of %y. X-Git-Tag: holmes-import~1634 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=85bdf27265c4800e76ad66ac35e7dda644fb3c4a;p=libucw.git Use %Y instead of %y. --- 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);