From owner-freebsd-bugs Fri Apr 5 5:40:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5BAE537B404 for ; Fri, 5 Apr 2002 05:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g35De3x86863; Fri, 5 Apr 2002 05:40:03 -0800 (PST) (envelope-from gnats) Date: Fri, 5 Apr 2002 05:40:03 -0800 (PST) Message-Id: <200204051340.g35De3x86863@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Michael Wardle Subject: Re: bin/36740: make ps obey locale (particularly for times) Reply-To: Michael Wardle Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36740; it has been noted by GNATS. From: Michael Wardle To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org, Michael Wardle Cc: Subject: Re: bin/36740: make ps obey locale (particularly for times) Date: Fri, 5 Apr 2002 05:36:58 -0800 (PST) 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