]> git.ipfire.org Git - thirdparty/coreutils.git/commit
uptime: remove inconsistent AM/PM from current time
authorPrateek saxena <prateeksaxena2@gmail.com>
Thu, 11 May 2017 11:46:02 +0000 (12:46 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 11 May 2017 11:54:29 +0000 (12:54 +0100)
commit82911c51aef32702abde676241b75d4f25d94812
treed5cec4b87f0b8905a7e7c0f8bc0b224a1ceacb8b
parent42192c517756cbd1f48eb7313901fbe1f70b33e0
uptime: remove inconsistent AM/PM from current time

* src/uptime.c (main): 00-23 was always used for the hour component
of the current time, so remove the AM/PM output (which was only
present in some locales anyway).  Also add seconds to the time
to be more consistent with the usual procps-ng uptime implementation
on GNU/Linux.
* NEWS: Mention the fix.
Fixes http://bugs.gnu.org/26783
NEWS
src/uptime.c