When formatting the time for a target, use %H instead of %k, which is mostly

the same, but uses a non-extension option.

Sponsored by:	Rachel Hestilow <rachel@jerkcity.com>
This commit is contained in:
Juli Mallett 2002-09-26 06:40:04 +00:00
parent 5187d555a5
commit cac04057f2

View File

@ -464,7 +464,7 @@ Targ_FmtTime (time)
parts = localtime(&time);
strftime(buf, sizeof buf, "%k:%M:%S %b %d, %Y", parts);
strftime(buf, sizeof buf, "%H:%M:%S %b %d, %Y", parts);
buf[sizeof(buf) - 1] = '\0';
return(buf);
}