forked from mirrors/gecko-dev
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:
parent
391f85d994
commit
32434f8e6b
4 changed files with 48 additions and 2 deletions
BIN
config/external/icu/data/icudt72l.dat
vendored
BIN
config/external/icu/data/icudt72l.dat
vendored
Binary file not shown.
39
intl/icu-patches/bug-1818103-CLDR-16399.diff
Normal file
39
intl/icu-patches/bug-1818103-CLDR-16399.diff
Normal 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: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"}
|
||||
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue