summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-11-08 20:59:19 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-11-08 20:59:19 +0000
commit9391b55213e39616ca5366b0b99c02393c73c9b5 (patch)
treee805a5120c4152eb81fe80ff484a31d04564cd5c /doc
parentde4224e5df1afeb989151932c6ff669970897b71 (diff)
downloadcoreutils-9391b55213e39616ca5366b0b99c02393c73c9b5.tar.xz
(Formatting file timestamps): ls now defaults to
--time-style='locale', which in turn acts like --time-style='posix-long-iso' if the locale settings are messed up.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 1015f9b8f..c49187bcf 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -6124,7 +6124,7 @@ and might generate timestamps like @samp{30. M@"ar 2002@ } and
@vindex LC_TIME
List @acronym{POSIX}-locale timestamps if the @env{LC_TIME} locale
category is @acronym{POSIX}, @var{style} timestamps otherwise. For
-example, the default style, which is @samp{posix-long-iso}, lists
+example, the @samp{posix-long-iso} style lists
timestamps like @samp{Mar 30@ @ 2002} and @samp{Mar 30 23:45} when in
the @acronym{POSIX} locale, and like @samp{2002-03-30 23:45} otherwise.
@end table
@@ -6133,10 +6133,11 @@ the @acronym{POSIX} locale, and like @samp{2002-03-30 23:45} otherwise.
@vindex TIME_STYLE
You can specify the default value of the @option{--time-style} option
with the environment variable @env{TIME_STYLE}; if @env{TIME_STYLE} is not set
-the default style is @samp{posix-long-iso}. @acronym{GNU} Emacs 21 and
-later can parse @acronym{ISO} dates, but older Emacs versions do not, so if
-you are using an older version of Emacs and specify a non-@acronym{POSIX}
-locale, you may need to set @samp{TIME_STYLE="locale"}.
+the default style is @samp{locale}. @acronym{GNU} Emacs 21.3 and
+later use the @option{--dired} option and therefore can parse any date
+format, but if you are using Emacs 21.1 or 21.2 and specify a
+non-@acronym{POSIX} locale you may need to set
+@samp{TIME_STYLE="posix-long-iso"}.
To avoid certain denial-of-service attacks, timestamps that would be
longer than 1000 bytes may be treated as errors.