Skip to content

Commit

Permalink
fix: Add support for the new Japanese Era (Reiwa) to ICU (#17833)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jefgen authored and codebytere committed Apr 19, 2019
1 parent b3ed830 commit 9ed83e7
Show file tree
Hide file tree
Showing 3 changed files with 129,828 additions and 28,718 deletions.
2 changes: 1 addition & 1 deletion patches/common/icu/.patches
@@ -1 +1 @@
icu_changes_for_japanese_era_placeholder_name_support.patch
fix_add_support_for_the_new_japanese_era_reiwa_to_icu.patch

0 comments on commit 9ed83e7

Please sign in to comment.