Use "%H:%M:%S" instead of "%T" in strftime() call since it looks to be
authorWayne Davison <wayned@samba.org>
Mon, 2 Feb 2004 21:02:13 +0000 (21:02 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 2 Feb 2004 21:02:13 +0000 (21:02 +0000)
more portable.

util.c

diff --git a/util.c b/util.c
index 3eefd4a..862e20c 100644 (file)
--- a/util.c
+++ b/util.c
@@ -956,7 +956,7 @@ char *timestring(time_t t)
        struct tm *tm = localtime(&t);
 
 #ifdef HAVE_STRFTIME
-       strftime(TimeBuf,sizeof(TimeBuf)-1,"%Y/%m/%d %T",tm);
+       strftime(TimeBuf,sizeof(TimeBuf)-1,"%Y/%m/%d %H:%M:%S",tm);
 #else
        strlcpy(TimeBuf, asctime(tm), sizeof(TimeBuf));
 #endif