* 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
tail -F 'dir/file' is now monitored even when 'dir' is replaced.
[bug introduced with inotify support added in coreutils-7.5]
+ uptime no longer outputs the AM/PM component of the current time,
+ as that's inconsistent with the 24 hour time format used.
+ [bug introduced in coreutils-7.0]
+
** New features
expand and unexpand now support specifying an offset for tab stops
previous versions of coreutils don't. */
if (tmn)
/* TRANSLATORS: This prints the current clock time. */
- fprintftime (stdout, _(" %H:%M%P "), tmn, 0, 0);
+ fprintftime (stdout, _(" %H:%M:%S "), tmn, 0, 0);
else
printf (_(" ??:???? "));
if (uptime == (time_t) -1)