Date: Fri, 5 Apr 2002 05:36:58 -0800 (PST) From: Michael Wardle <michael@endbracket.net> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org, Michael Wardle <michael@endbracket.net> Subject: Re: bin/36740: make ps obey locale (particularly for times) Message-ID: <20020405133658.88496.qmail@web11205.mail.yahoo.com> In-Reply-To: <200204041000.g34A01x74473@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I meant "date" used a 24-hour format (depending on the locale), but "ps" always uses a 12-hour format (irrespective of locale). It turns out that the ps field "lstart" gives a date and time in the local time format, but the field "start" (as used by "ps -u") is hard-coded to use one particular format, presumably to ensure that the field width remains consistent. It seems fairly trivial to change the time format used by the "start" field to use a 24-hour time format, and I would suggest that it should, given that en_US and C locales both use 24-hour time. I'll file a separate bug for this. __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020405133658.88496.qmail>