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:
jmallett 2002-09-26 06:40:04 +00:00
parent fdb936de82
commit 2e11ae75d3

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);
}