about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2018-12-31 00:29:53 +0100
committerAurelien Jarno <aurelien@aurel32.net>2019-01-07 14:51:13 +0100
commit7395f3a0efad9fc51bb54fa383ef6524702e0c49 (patch)
treec76df9d97359a6a8966f69e836045410ed0dea53
parent010fe2317732b009e096cba9df14d5a56ec28de9 (diff)
downloadglibc-7395f3a0efad9fc51bb54fa383ef6524702e0c49.tar.gz
glibc-7395f3a0efad9fc51bb54fa383ef6524702e0c49.tar.xz
glibc-7395f3a0efad9fc51bb54fa383ef6524702e0c49.zip
en_US: define date_fmt (bug 24046)
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".
-rw-r--r--ChangeLog6
-rw-r--r--localedata/locales/en_US3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 65f63acdfc..cf85b269a3 100644
--- 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]
diff --git a/localedata/locales/en_US b/localedata/locales/en_US
index 5e2b365659..7a3f5dc778 100644
--- a/localedata/locales/en_US
+++ b/localedata/locales/en_US
@@ -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"