fix: Add support for the new Japanese Era (Reiwa) to ICU (#17833)

This change backports changes from the upstream ICU project's
maintenance release for ICU 62.2 in order to enable support for the new
Japanese Era "Reiwa" in Chromium 69 (which uses ICU version 62.1).

Upstream release: http://site.icu-project.org/download/62

Additionally, this change also includes the following fixes/updates:
 - Update IANA time zone tzdata to 2019a.
 - Japanese calendar era calculation should use local time, not UTC.
 - Japanese calendar: use all valid eras for calendar calculations.
 - Fix LocalMemory move constructor delete issue.

This change requires re-generating the checked-in Chromium ICU data
files (ex: icudtl.dat) in order for them to have the updated data for
the new era name. However, that will be done with a separate commit in
order to make the ".patch" files cleaner.

Note: All of the checked-in files are be regenerated, even though
the Electron project only uses the "common" one.

Also included in this change are some minor changes to the scripts used
by Chromium for building the data files so that they actually work on
Ubuntu.
This commit is contained in:
Jeff Genovy
2019-04-19 14:41:21 -07:00
committed by Shelley Vohr
parent b3ed83055c
commit 9ed83e7512
3 changed files with 129828 additions and 28718 deletions

View File

@@ -1 +1 @@
icu_changes_for_japanese_era_placeholder_name_support.patch
fix_add_support_for_the_new_japanese_era_reiwa_to_icu.patch

File diff suppressed because it is too large Load Diff