Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 52aed99c43 Bug 1786025: Update time zone data to tzdata2022b. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D155068
2022-08-19 17:14:03 +00:00
André Bargull bf0b6fd5c1 Bug 1763783 - Part 3: Update time zone data to tzdata2022a. r=platform-i18n-reviewers,jfkthame
Depends on D143275

Differential Revision: https://phabricator.services.mozilla.com/D143276
2022-04-10 09:18:03 +00:00
André Bargull 33694d390f Bug 1737765 - Part 1: Update tzdata in ICU data files to 2021a3. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D129486
2021-10-26 13:50:53 +00:00
André Bargull 71bb35d484 Bug 1737533 - Part 1: Update tzdata in ICU data files to 2021a2. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D129370
2021-10-25 13:13:06 +00:00
André Bargull f785b509a3 Bug 1733053 - Part 1: Update tzdata in ICU data files to 2021a1. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D126882
2021-09-30 08:32:45 +00:00
André Bargull 3d58656e00 Bug 1693575 - Part 3: Implement support for "calendar" option. r=tcampbell
This last part to support "calendar" requires a bit more code.

`GetCalendarDisplayName()` performs the following steps:
1. Validate the input matches the `type` nonterminal, per
   CanonicalCodeForDisplayNames, step 4.a.
2. Then convert it to lower case, because ICU expects lower case names and it
   needs to be in lower case for `LanguageTag::replaceUnicodeExtensionType()`.
3. Replace calendar name aliases with the preferred name, e.g. use "ethioaa"
   instead of "ethiopic-amete-alem".
4. Check the input isn't too large, just in case ICU somehow doesn't properly
   handle large string inputs.
5. Retrieve the old-style value of the calendar name, for example "gregorian"
   for the calendar name "gregory".
6. And finally call `uldn_keyValueDisplayName` to search for the localised name.

Our ICU data file doesn't yet include calendar names. To include calendar names
we need to enable them in "data_filter.json", rebuild the ICU data file, and
then reapply the update for tzdata 2021a. (Reapplying the tzdata changed
"intl/tzdata/GIT-INFO", but otherwise didn't change any time zone files.)

Adding the calendar names to the ICU data file results in a slight increase of
the overall data file size (79,184 bytes).

The existing "calendar.js" test file was renamed to "month-calendar.js", so
the test file for the new "calendar" type can be named "calendar.js".

Differential Revision: https://phabricator.services.mozilla.com/D116008
2021-06-01 07:45:44 +00:00
André Bargull 6ae41c9162 Bug 1689294: Update tzdata in ICU data files to 2021a. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103281
2021-01-29 14:25:21 +00:00
André Bargull 3111f61a45 Bug 1685481: Update tzdata in ICU data files to 2020f. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D101020
2021-01-08 10:07:47 +00:00
André Bargull 35813933df Bug 1673027 - Part 2: Update tzdata in ICU data files to 2020d. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D94605
2020-12-04 17:23:41 +00:00
André Bargull 1265aecea0 Bug 1633331: Update tzdata in ICU data files to 2020a. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D72588
2020-04-28 08:47:11 +00:00
André Bargull ee6797f7ee Bug 1583268: Update tzdata in ICU data files to 2019c. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D46923

--HG--
extra : moz-landing-system : lando
2019-09-25 23:33:11 +00:00
André Bargull d8ea37c7c3 Bug 1564330: Update tzdata in ICU data files to 2019b. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D37541

--HG--
extra : moz-landing-system : lando
2019-07-10 15:50:28 +00:00
André Bargull c44e1b600e Bug 1543642 - Part 3: Update tzdata in ICU data files to 2019a. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com//D27352

--HG--
extra : amend_source : 151ef3ac4ace3fe7b9dcdf987575230bc633c798
2019-04-23 16:45:45 +02:00
André Bargull 12266f8fb5 Bug 1517222: Update tzdata in ICU data files to 2018i. r=Waldo 2019-01-04 04:46:00 -08:00
André Bargull 7f8b902c81 Bug 1513934 - Import ICU patch to fix possible time zone misdetection on Windows 7. r=Waldo
--HG--
extra : amend_source : 9b0b4e865d1195b7124f74ea096d904a31b0cd71
2018-12-14 05:48:46 -08:00
André Bargull f985d9152e Bug 1502530 - Part 2: Update tzdata in ICU data files to 2018g. r=Waldo 2018-11-06 02:52:01 -08:00
André Bargull a72259bbca Bug 1459285: Update tzdata in ICU data files to 2018e. r=Waldo 2018-05-09 01:12:01 -07:00
André Bargull 885f7cd752 Bug 1449574: Update tzdata in ICU data files to 2018d. r=Waldo
--HG--
extra : rebase_source : 31cf8dfab7a49519a56b5eefc4d0c711c0ddf645
2018-03-29 10:02:57 -07:00
André Bargull 9129fc5348 Bug 1430761: Update tzdata in ICU data files to 2018c. r=Waldo 2018-02-01 05:36:03 -08:00
André Bargull 04879cba6b Bug 1411957 - Part 2: Update tzdata in ICU data files to 2017c. r=Waldo
MozReview-Commit-ID: IHLvaaTEIPm
2017-10-26 23:10:51 +09:00
André Bargull 5923180124 Bug 1353649 - Update tzdata in ICU data files to 2017b. r=Waldo
--HG--
extra : rebase_source : 48f6ab3a2bc6c91a1b6cc7429dd1ac0cb12d68ff
extra : histedit_source : 9687446c9877953592b99dd51a6a4d22af874a70
2017-04-05 10:49:53 +02:00
André Bargull e10fb026e9 Bug 1343493 - Update tzdata in ICU data files to 2017a. r=Waldo 2017-03-02 02:11:16 -08:00
Jeff Walden 619e6dfa67 Bug 1324240 - Ensure every aspect of SVN-INFO is consistently localized to English, rather than picking up the arbitrary locale of the last person to perform an update. r=anba
--HG--
extra : rebase_source : ea3bb6f366fef58acc22bfa178127dca9dcb56cb
2016-12-19 15:20:51 -05:00
André Bargull d1745aead9 Bug 1321030: Update tzdata in ICU data files to 2016j. r=Waldo 2016-11-29 15:16:21 -08:00
André Bargull af66848eae Bug 1314920 - Update tzdata in ICU data files to 2016i. r=Waldo
--HG--
extra : rebase_source : 3c3b0fa19d7d8f8a47148afaea4290fe6d9b6e65
2016-11-07 10:10:21 -08:00
André Bargull aec865dde5 Bug 1312061 - iUpdate tzdata in ICU data files to 2016h. r=Waldo 2016-10-21 10:18:12 -07:00
André Bargull e92830ccfa Bug 1310733 - Part 1: Update tzdata in ICU data files to 2016g. r=Waldo
--HG--
extra : rebase_source : d96161ceb37720a00237d60c0c1b83112b056926
2016-10-18 11:45:57 -07:00
André Bargull 06e2ad55a3 Bug 1310733 - Part 0: Rename tzdata svn directory to "source" instead of using version name. r=Waldo
--HG--
rename : intl/tzdata/2015f/be/metaZones.res => intl/tzdata/source/be/metaZones.res
rename : intl/tzdata/2015f/be/timezoneTypes.res => intl/tzdata/source/be/timezoneTypes.res
rename : intl/tzdata/2015f/be/windowsZones.res => intl/tzdata/source/be/windowsZones.res
rename : intl/tzdata/2015f/be/zoneinfo64.res => intl/tzdata/source/be/zoneinfo64.res
rename : intl/tzdata/2015f/ee/metaZones.res => intl/tzdata/source/ee/metaZones.res
rename : intl/tzdata/2015f/ee/timezoneTypes.res => intl/tzdata/source/ee/timezoneTypes.res
rename : intl/tzdata/2015f/ee/windowsZones.res => intl/tzdata/source/ee/windowsZones.res
rename : intl/tzdata/2015f/ee/zoneinfo64.res => intl/tzdata/source/ee/zoneinfo64.res
rename : intl/tzdata/2015f/le/metaZones.res => intl/tzdata/source/le/metaZones.res
rename : intl/tzdata/2015f/le/timezoneTypes.res => intl/tzdata/source/le/timezoneTypes.res
rename : intl/tzdata/2015f/le/windowsZones.res => intl/tzdata/source/le/windowsZones.res
rename : intl/tzdata/2015f/le/zoneinfo64.res => intl/tzdata/source/le/zoneinfo64.res
rename : intl/tzdata/2015f/metaZones.txt => intl/tzdata/source/metaZones.txt
rename : intl/tzdata/2015f/timezoneTypes.txt => intl/tzdata/source/timezoneTypes.txt
rename : intl/tzdata/2015f/windowsZones.txt => intl/tzdata/source/windowsZones.txt
rename : intl/tzdata/2015f/zoneinfo64.txt => intl/tzdata/source/zoneinfo64.txt
extra : rebase_source : 3ffad84a332d549951d5dc599b0f0badbb2ccf27
2016-10-18 11:46:21 -07:00
André Bargull c52b3dc6ca Bug 837961 - Part 1: Add scripts to update tzdata in ICU data files. r=Waldo 2016-10-06 22:37:20 -07:00