[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls has stopped using the ISO date format



On Tuesday 01 June 2010 15:23:11 Andrei Popescu wrote:
> On Ma, 01 iun 10, 13:56:12, Boyd Stephen Smith Jr. wrote:
> > From SUSv3:
> > "The <date and time> field shall contain the appropriate date and
> > timestamp of when the file was last modified. In the POSIX locale, the
> > field shall be the equivalent of the output of the following date
> > command:
> > 
> > date "+%b %e %H:%M"
> > 
> > if the file has been modified in the last six months, or:
> > 
> > date "+%b %e  %Y"
> 
> > Of course, SUS basically ignores any locale other than "POSIX" or "C",
> > but there is rarely a good reason to be different in other locales.
> 
> One reason would be that '%b %e  %Y' makes sense only to Americans >:-)

In this specific case, I'd say that is a good reason to be different.  I 
wouldn't say ISO format is the correct way to be different -- probably 
something that uses '%b', '%e', and '%Y' and has 3 spaces, but not is the same 
order is appropriate.

That's just my gut feeling though.  It's a local(e) thing, so I can only 
really speak for en_US@Arkansas.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: