]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
locales: en_CA: update d_fmt [BZ #9842]
authorMartin Pitt <martin.pitt@ubuntu.com>
Fri, 14 Aug 2015 05:22:37 +0000 (01:22 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 10 Aug 2016 10:02:27 +0000 (18:02 +0800)
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.

localedata/ChangeLog
localedata/locales/en_CA

index aadb0e928d891e5403d7c12bed500d98d5a27e31..9aedf5169512ccc3fb0b6496cdffb019755686d9 100644 (file)
@@ -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.
index 820676573a079cc58e64d8b2212a695006486a05..cd971374d9a333f2a81d21479f4310215edd7276 100644 (file)
@@ -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>"