On Thu, Jan 29, 2004 at 02:22:06PM -0800, Brian wrote:> Why does the windows setup give only the date and not the time?
The code calls strftime() with the %T format, which doesn't appear to
work on your MS Windows setup. You can trying editing util.c to change
the %T into %H:%M:%S and see if that will make it work for you:
--- util.c 21 Jan 2004 02:45:10 -0000 1.126
+++ util.c 29 Jan 2004 22:56:17 -0000
@@ -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
..wayne..