diff options
author | jidanni@jidanni.org <jidanni@jidanni.org> | 2009-01-29 23:04:46 +0800 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-02-02 08:40:18 +0100 |
commit | d3dcb10f902ac9f1636aefd38520c50b5fcdc1d5 (patch) | |
tree | 59d35a746c1988b493f636b1309a392ac6b37de8 | |
parent | 52b4d2a51a59df037abbb9754c8118ebe5734860 (diff) | |
download | coreutils-d3dcb10f902ac9f1636aefd38520c50b5fcdc1d5.tar.xz |
date doc: warn at -d about LC_TIME
We also warn here about LC_TIME, so the user will know even if he
doesn't look in the @xref{Date input formats}.
-rw-r--r-- | doc/coreutils.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 07986e83d..c3a116470 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -13485,6 +13485,11 @@ format. It can contain month names, time zones, @samp{am} and @samp{pm}, 14:19:13.489392193 +0530"} specifies the instant of time that is 489,392,193 nanoseconds after February 27, 2004 at 2:19:13 PM in a time zone that is 5 hours and 30 minutes east of @acronym{UTC}.@* +Note: input currently must be in locale independent format. E.g., the +LC_TIME=C below is needed to print back the correct date in many locales: +@example +date -d "$(LC_TIME=C date)" +@end example @xref{Date input formats}. @item -f @var{datefile} |