From b22260749fc0fea84ca3a60c72ed4dea3f53cb86 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 2 Feb 2004 21:02:13 +0000 Subject: [PATCH] Use "%H:%M:%S" instead of "%T" in strftime() call since it looks to be more portable. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 3eefd4a4..862e20c6 100644 --- 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 -- 2.34.1