about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-08-14 01:22:37 -0400
committerMike Frysinger <vapier@gentoo.org>2016-08-10 18:02:27 +0800
commit71b67af1ffa57a0322ac1bd77141060fffc4b4e4 (patch)
tree5533f2407cc265f4b5d50d3e33707065d667acac
parent9b3d1336f7f3b6161289627b769a95ec5321e931 (diff)
downloadglibc-71b67af1ffa57a0322ac1bd77141060fffc4b4e4.tar.gz
glibc-71b67af1ffa57a0322ac1bd77141060fffc4b4e4.tar.xz
glibc-71b67af1ffa57a0322ac1bd77141060fffc4b4e4.zip
locales: en_CA: update d_fmt [BZ #9842]
The date format in en_CA/LC_TIME specifies the date format as "%d/%m/%y".
However, it should be "%Y-%m-%d".  This is the standard date format in
Canada as specified by the Canadian Standards Association in CSA Z234.5:1989,
which adopts the ISO 8601 standard.

Here's the web page from the National Research Council of Canada
citing ISO 8601 as the standard date/time format in Canada:
http://www.nrc-cnrc.gc.ca/eng/services/time/faq/#Q8
 International Standard ISO 8601 specifies numeric representations
 of date and time. The recommended full format is of the form
 2001-12-31 23:59:28.73 UTC. The intent of this standard is to avoid
 confusion in international communications which can arise with the
 many different national notations. This format has the advantage
 that it permits dates to be readily sorted in chronological order
 by computer systems.

Windows 8+ and OS X also switched to this format.
-rw-r--r--localedata/ChangeLog5
-rw-r--r--localedata/locales/en_CA2
2 files changed, 6 insertions, 1 deletions
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index aadb0e928d..9aedf51695 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+2016-08-10  Martin Pitt  <martin.pitt@ubuntu.com>
+
+	[BZ #9842]
+	* locales/en_CA (d_fmt): Change to %Y-%m-%d.
+
 2016-08-10  Mike Frysinger  <vapier@gentoo.org>
 
 	* charmaps/CP10007: Change M$ to Microsoft.
diff --git a/localedata/locales/en_CA b/localedata/locales/en_CA
index 820676573a..cd971374d9 100644
--- a/localedata/locales/en_CA
+++ b/localedata/locales/en_CA
@@ -129,7 +129,7 @@ mon         "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
             "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
             "<U0044><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
 d_t_fmt     "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0072><U0020><U0025><U005A>"
-d_fmt       "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
+d_fmt       "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
 t_fmt       "<U0025><U0072>"
 am_pm       "<U0041><U004D>";"<U0050><U004D>"
 t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070>"