Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2002 05:40:03 -0800 (PST)
From:      Michael Wardle <michael@endbracket.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/36740: make ps obey locale (particularly for times)
Message-ID:  <200204051340.g35De3x86863@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/36740; it has been noted by GNATS.

From: Michael Wardle <michael@endbracket.net>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org,
	Michael Wardle <michael@endbracket.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204051340.g35De3x86863>