From 8aa15b2be2bd2ab4b76d197a279abf8b9091680a Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Mon, 28 Sep 2009 17:32:15 +0100 Subject: 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 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3e170c501..2bacb7f0e 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,15 @@ GNU coreutils NEWS -*- outline -*- ** Changes in behavior + ls -l now uses the traditional three field time style rather than + the wider two field numeric ISO style, in locales where a style has + not been specified. The new approach has nicer behavior in some + locales, including English, which was judged to outweigh the disadvantage + of generating less-predictable and often worse output in poorly-configured + locales where there is an onus to specify appropriate non-default styles. + [The old behavior was introduced in coreutils-6.0 and had been removed + for English only using a different method since coreutils-8.1] + sort -g now uses long doubles for greater range and precision. stat no longer accepts the --context (-Z) option. Initially it was -- cgit v1.2.3-54-g00ecf