ls: use the POSIX date style when the locale does not specify one
authorPádraig Brady <P@draigBrady.com>
Mon, 28 Sep 2009 16:32:15 +0000 (17:32 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 1 Jul 2010 12:12:52 +0000 (13:12 +0100)
commit8aa15b2be2bd2ab4b76d197a279abf8b9091680a
tree6a4d05b3b9d2c55875389f24dac5a4c032bca417
parent7336920dd07478b7bdae05ec599da4e2e66a94ff
ls: use the POSIX date style when the locale does not specify one

Previously we defaulted to "long-iso" format in locales without
specific format translations, like the en_* locales for example.
This reverts part of commit 6837183d, 08-11-2005, "ls ... acts like
--time-style='posix-long-iso' if the locale settings are messed up"
* src/ls.c (decode_switches): Only use the ISO format when specified.
* NEWS: Mention the change in behavior.
Reported by Daniel Qarras at http://bugzilla.redhat.com/525134
NEWS
doc/coreutils.texi
src/ls.c
tests/misc/ls-time