[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH,resend] date doc: warn at -d about LC_TIME
From: |
jidanni |
Subject: |
[PATCH,resend] date doc: warn at -d about LC_TIME |
Date: |
Thu, 29 Jan 2009 23:04:46 +0800 |
We also warn here about LC_TIME, so the user will know even if he
doesn't look in the @xref{Date input formats}.
Signed-off-by: jidanni <address@hidden>
---
Also no reply last time. Resending.
doc/coreutils.texi | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index d8df107..35d98b2 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -13470,6 +13470,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 @address@hidden
+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:
address@hidden
+date -d "$(LC_TIME=C date)"
address@hidden example
@xref{Date input formats}.
@item -f @var{datefile}
--
1.6.0.6