https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283108
Tijl Coosemans <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Tijl Coosemans <[email protected]> --- I think the problem is in uptime/w and not in the locale data. It uses a 12-hour format if nl_langinfo(T_FMT_AMPM) returns a nonempty string, but this string isn't necessarily empty in locales with a 24-hour clock. The locale might also support a 12-hour format or this string may represent a 24-hour format. From POSIX: T_FMT_AMPM Time format string using 12-hour clock format, if supported in the locale; if the 12-hour format is not supported, this shall be either an empty string or a string specifying a 24-hour clock format. I thought uptime/w could just use %X (which includes seconds) but all locales in share/timedef, including the US locale, use %H for X_fmt, so I think uptime/w can simply use a 24-hour format. -- You are receiving this mail because: You are the assignee for the bug.
