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

Re: ls has stopped using the ISO date format



On Sun, May 30, 2010 at 07:17:31AM +0300, Teemu Likonen wrote:
> * 2010-05-29 20:25 (-0700), Brian Marshall wrote:
> 
> > Recently, I noticed that the date format in the output from "ls -l"
> > has changed in squeeze. Before, it used the ISO standard (2010-05-29
> > 20:00) but now it's started printing "May 29 20:00" or "May 29 2009"
> > if it's not the current year.

> Yes, the default has changed. You can change the default with TIME_STYLE
> environment variable, like this:
> 
>     export TIME_STYLE=long-iso

Thanks, this works.

On Sun, May 30, 2010 at 07:21:31AM +0300, Teemu Likonen wrote:
> Here's a better link which points to the Debian Reference manual:
> 
> http://www.debian.org/doc/manuals/debian-reference/debian-reference.en.html#_customized_display_of_time_and_date

Thanks for the link.

Any idea why the default was changed? I guess it didn't really make
sense to change the date format based on whether it was an ISO-8859 or
UTF-8 locale? (en_US.ISO-8859, to my knowledge, has always used the date
format that en_US.UTF-8 is now using.)

Brian

Attachment: signature.asc
Description: Digital signature


Reply to: