Commit 32434f8e authored by André Bargull's avatar André Bargull
Browse files

Bug 1818103: Revert date format for en-CA. r=platform-i18n-reviewers,jfkthame

Revert the date format for en-CA per <https://github.com/unicode-org/cldr/pull/2759>.

The actual patch is based on <https://github.com/unicode-org/icu/pull/2368>.

Differential Revision: https://phabricator.services.mozilla.com/D173406
parent 391f85d9
Loading
Loading
Loading
Loading
+16 B (14.3 MiB)

File changed.

No diff preview for this file type.

+39 −0
Original line number Diff line number Diff line
# https://github.com/unicode-org/cldr/pull/2759
# https://github.com/unicode-org/cldr/pull/2759.diff
# https://github.com/unicode-org/icu/pull/2368
# https://github.com/unicode-org/icu/pull/2368.diff
#
# CLDR bug: https://unicode-org.atlassian.net/browse/CLDR-16399

diff --git a/intl/icu/source/data/locales/en_CA.txt b/intl/icu/source/data/locales/en_CA.txt
--- a/intl/icu/source/data/locales/en_CA.txt
+++ b/intl/icu/source/data/locales/en_CA.txt
@@ -226,20 +226,26 @@ en_CA{
                 "h:mm:ss a",
                 "h:mm a",
                 "EEEE, MMMM d, y",
                 "MMMM d, y",
                 "MMM d, y",
-                "M/d/yy",
+                "y-MM-dd",
                 "{1}, {0}",
                 "{1}, {0}",
                 "{1}, {0}",
                 "{1}, {0}",
                 "{1}, {0}",
             }
             availableFormats{
                 Ed{"E d"}
-                MMdd{"MM/dd"}
+                GyMd{"y-MM-dd G"}
+                MEd{"E, MM-dd"}
+                MMdd{"MM-dd"}
+                Md{"MM-dd"}
+                yM{"y-MM"}
+                yMEd{"E, y-MM-dd"}
+                yMd{"y-MM-dd"}
             }
             dayPeriod{
                 format{
                     narrow{
                         afternoon1{"aft"}
+8 −2
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ en_CA{
                "EEEE, MMMM d, y",
                "MMMM d, y",
                "MMM d, y",
                "M/d/yy",
                "y-MM-dd",
                "{1}, {0}",
                "{1}, {0}",
                "{1}, {0}",
@@ -237,7 +237,13 @@ en_CA{
            }
            availableFormats{
                Ed{"E d"}
                MMdd{"MM/dd"}
                GyMd{"y-MM-dd G"}
                MEd{"E, MM-dd"}
                MMdd{"MM-dd"}
                Md{"MM-dd"}
                yM{"y-MM"}
                yMEd{"E, y-MM-dd"}
                yMd{"y-MM-dd"}
            }
            dayPeriod{
                format{
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ for patch in \
 bug-1790071-ICU-22132-standardize-vtzone-output.diff \
 bug-1792775-ICU-22198.diff \
 bug-1792775-ICU-22206.diff \
 bug-1818103-CLDR-16399.diff \
; do
  echo "Applying local patch $patch"
  patch -d ${icu_dir}/../../ -p1 --no-backup-if-mismatch < ${icu_dir}/../icu-patches/$patch