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
This commit is contained in:
André Bargull 2023-03-23 09:26:42 +00:00
parent 391f85d994
commit 32434f8e6b
4 changed files with 48 additions and 2 deletions

Binary file not shown.

View file

@ -0,0 +1,39 @@
# 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:ssa",
"h:mma",
"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"}

View file

@ -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{

View file

@ -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