[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: fi.po for fileutils (an old issue)
From: |
Jim Meyering |
Subject: |
Re: Proposal: fi.po for fileutils (an old issue) |
Date: |
Sun, 28 Oct 2001 12:07:02 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.107 |
FYI,
Thanks to Paul Eggert, the following will in fileutils-4.1.1
(to be released pretty soon).
* ls can now display dates and times in one of four time styles:
- The `full-iso' time style gives full ISO-style time stamps like
`2001-05-14 23:45:56.477817180 -0700'.
- The 'iso' time style gives ISO-style time stamps like '2001-05-14 '
and '05-14 23:45'.
- The 'locale' time style gives locale-dependent time stamps like
'touko 14 2001' and 'touko 14 23:45' (in a Finnish locale).
- The 'posix-iso' time style gives traditional POSIX-locale
time stamps like 'May 14 2001' and 'May 14 23:45' unless the user
specifies a non-POSIX locale, in which case it uses ISO-style dates.
This is the default.
You can specify a time style with an option like --time-style='iso'
or with an environment variable like TIME_STYLE='iso'. GNU Emacs 21
and later can parse ISO dates, but older Emacs versions cannot, so
if you are using an older version of Emacs outside the default POSIX
locale, you may need to set TIME_STYLE="locale".
* --full-time is now an alias for "-l --time-style=full-iso".
Jyrki Kuoppala <address@hidden> wrote:
> Tor Lillqvist <address@hidden> writes, commenting on my proposed fi.po
> changes to fileutils:
> > Finnish GNU/LI List writes:
>> > My proposed fi.po changes the output into:
>> > drwxr-xr-x 2 root root 1460 22.02.2001 17.16 bin
>> > drwxr-xr-x 5 root root 1024 15.01.2001 11.44 boot
>> > drwxr-xr-x 2 root root 1460 to 22.02.2001 17.16.19 bin
>> > drwxr-xr-x 5 root root 1024 ma 15.01.2001 11.44.23 boot
>
>> Even if the 22.02.2001 format is the one most commonly used in
>> Finland, and I don't have anything against it when used for isolated
>> dates, I do think that it is stupid to use it here. Exactly in
>> contexts like directory listings the ISO standard format 2001-02-22 is
>> the most logical to use. Compare this output from ls -lt:
>
>> -rw-r--r-- 1 tml 513 18194 2001-02-25 18:32 NEWS
>> -rw-r--r-- 1 tml 513 0 2001-02-21 16:16 config.cache
>> -rwxr-xr-x 1 tml 513 228525 2001-02-20 22:37 configure~
>> -rwxr-xr-x 1 tml 513 150000 2001-02-20 22:22 libtool~
>> drwxr-xr-x 4 tml 513 0 2001-02-15 19:57 libltdl
>> drwxr-xr-x 3 tm
>
> I agree that Tor is right, the ISO format is better in the context of ls -l.
> Here's the modified fi.po:
...