[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls : date and time format
From: |
Jim Meyering |
Subject: |
Re: ls : date and time format |
Date: |
11 Nov 2000 08:54:20 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Jungshik Shin <address@hidden> wrote:
| I'm writing to suggest that the date and time output format of
| ls has to be tailored for each locale. Currently, ls uses
|
| fmt = "%b %e %Y";
| (for 6month or older files at line 2229)
| fmt = "%b %e %H:%M";
| (for recent files at line 2233)
| fmt = "%a %b %d %H:%M:%S %Y";
| (if --full-time option is used : at line 2216)
|
| I think different locales have different date and time format.
| For instance, in ko_KR locale the following three formats
| are much more appropriate:
|
| "%Y. %m. %e"
| "%m. %e %H:%M"
| "%x %H:%M:%s"
Thanks. I've just made this change
* src/ls.c (print_long_format): Wrap the --full-time' date format
string in _(...), so it too may be internationalized.
Suggestion from Jungshik Shin.
The other two were changed last month, as you
can see in the latest test release:
ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0.31.tar.gz