summaryrefslogtreecommitdiff
path: root/doc/parse-datetime.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-08-09 13:47:41 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-08-09 13:57:07 -0700
commitf1f10d47be8762e4ca17c8957a0520b08d28abfb (patch)
treeb21c755d541d068be42d98debaa4958b4744924e /doc/parse-datetime.texi
parentb5e7a0deb7f9a3fc7f0206e39f6b032b1051d0cd (diff)
downloadgnulib-f1f10d47be8762e4ca17c8957a0520b08d28abfb.tar.gz
parse-datetime: fix military timezone letters
Problem and trivial fix reported by Neil Hoggarth in: https://lists.gnu.org/r/bug-gnulib/2019-08/msg00005.html * lib/parse-datetime.y (military_table): Do it the right way, not the RFC 822 way.
Diffstat (limited to 'doc/parse-datetime.texi')
-rw-r--r--doc/parse-datetime.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/parse-datetime.texi b/doc/parse-datetime.texi
index 193575edca..2f11475728 100644
--- a/doc/parse-datetime.texi
+++ b/doc/parse-datetime.texi
@@ -306,7 +306,9 @@ only for @samp{UTC}; for example, @samp{UTC+05:30} is equivalent to
Time zone items other than @samp{UTC} and @samp{Z}
are obsolescent and are not recommended, because they
are ambiguous; for example, @samp{EST} has a different meaning in
-Australia than in the United States. Instead, it's better to use
+Australia than in the United States, and @samp{A} has different
+meaning as a military time zone than as an obsolescent
+RFC 822 time zone. Instead, it's better to use
unambiguous numeric time zone corrections like @samp{-0500}, as
described in the previous section.