Subject: Re: w with 24h format
To: Hubert Feyrer <hubert@feyrer.de>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 09/30/2005 20:23:06
In message <Pine.LNX.4.61.0510010112290.24261@m24s24.vlinux.de>, Hubert Feyrer 
writes:
>On Fri, 30 Sep 2005, Rui Paulo wrote:
>> | I'd prefer to see the Login time 10:22PM as 22:22.
>> Maybe this could be done locale-specific ?
>
>Seconded.
>
>
>> I agree with the idea of sending a PR.
>
>Including patch. :)
>

It looked to be a very simple change; the time-printing is isolated to 
a separate file pr_time.c.  My original thought was an enviornment
variable W_TIMEFORMAT that would hold a strftime string, but in fact 
there are three separate cases in the code.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb