]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
en_US: define date_fmt (bug 24046)
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 30 Dec 2018 23:29:53 +0000 (00:29 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 7 Jan 2019 13:51:13 +0000 (14:51 +0100)
The en_US locale use a 12h am/pm format in both d_fmt and d_t_fmt, which
is correct, but does not define date_fmt. This causes the default value
to be used, which is in 24h format.

This patch adds the date_fmt entry to the en_US locale with the same
value as d_t_fmt as the latter already includes the timezone.

Changelog
[BZ #24046]
* localedata/locales/en_US (date_fmt): Add, set to
"%a %d %b %Y %r %Z".

ChangeLog
localedata/locales/en_US

index 65f63acdfcf1bd69b6de149e783bf62d4b7daa85..cf85b269a32dcae75051f8b25d67acb3daa5617e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-01-07  Aurelien Jarno  <aurelien@aurel32.net>
+
+       [BZ #24046]
+       * localedata/locales/en_US (date_fmt): Add, set to
+       "%a %d %b %Y %r %Z".
+
 2019-01-07  Florian Weimer  <fweimer@redhat.com>
 
        [BZ #24063]
index 5e2b3656598258d5c9f5557702e9a040f30a15d4..7a3f5dc778f3f61b0177779d7b1d0ecef6939e42 100644 (file)
@@ -117,6 +117,9 @@ t_fmt   "%r"
 % Appropriate AM/PM time representation (%r)
 t_fmt_ampm "%I:%M:%S %p"
 %
+% Appropriate date and time representation for date(1)
+date_fmt "%a %d %b %Y %r %Z"
+%
 % Strings for AM/PM
 %
 am_pm  "AM";"PM"