I noticed that "ps -u" gives the time a process was started in a
12-hour format, regardless of the locale setting.
It seems that the "start" field is designed to always be a fixed width,
so it probably shouldn't merely use the locale date format, as this
may cause variable widths.
In lieu of fixing this to obey the locale, I would suggest this should
be changed to always use a 24-hour time format, as 24-hour time is the
standard format for many locales including en_US and C.
Mark suspended awaiting patches.
Created attachment 150325 [details]
Lots of locale sets the T_FMT_AMPM string
This old issue still exists - it is caused by lots of locales actually provide the "am/pm formatting" string (T_FMT_AMPM) even the locale does not want am/pm.
So the two tools "ps" and "w" which uses this string to check weather to output am/pm fails on lots of locales.
This patch is for the Danish locale - maybe translaters can help fix the rest?
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017
- Set Status to "Open"