bug-fileutils
[Top][All Lists]
Advanced

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

Making ls show dates with correct ordering for the locale


From: Christian Rose
Subject: Making ls show dates with correct ordering for the locale
Date: Mon, 16 Oct 2000 13:04:36 +0200

ls -l shows, with LC_ALL=sv_SE, a file entry this way:

-rw-r--r--    1 menthos  menthos      5496 okt 13 22:00 index.html

This is wrong with the Swedish date convention, that is, day number
should
always be placed before month. So the example above should really be

-rw-r--r--    1 menthos  menthos      5496 13 okt 22:00 index.html

if it should be correct according to Swedish standard.
I know it's not just Swedish that is affected by this, it is also lots
of other non-english languages, where day number is always ordered
before month.

Maybe ls could be patched to allow the translator(localizer) to decide
the ordering of the parts of the date (probably with strftime)?


Cheers
Christian



reply via email to

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