mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
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:
parent
5187d555a5
commit
cac04057f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103990
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user