bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: use of locale in "ls" again (Re: Japanese expression of date)


From: Bruno Haible
Subject: Re: use of locale in "ls" again (Re: Japanese expression of date)
Date: Fri, 21 Dec 2001 19:05:20 +0100 (CET)

Paul Eggert writes:
> The basic idea is to use a 1-day
> window, not the 6-month window of the POSIX locale.  So the posix-iso
> output would look like this instead:
> 
>    $ ls -l .plan .profile today
>    -r--r--r--    1 eggert   eggert        386 1981-07-14 .plan
>    -r--r--r--    1 eggert   eggert       4012 2001-11-20 .profile
>    -rw-rw-r--    1 eggert   eggert          0   16:10:01 today
> 
> This would conform better to ISO 8601, because it would avoid the
> nonconforming "MM-DD" notation that bothers Mr. Haible and Mr. Kubota.
> Also, it saves one precious print column.  I would like to hear
> reactions to this idea.

Fine with me. This output doesn't upset a German speaker.

Still you need to make a special case for the C locale, because POSIX
specifies the "ls" output detail in that particular situation (not
very interesting for non-English humans).

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]