DescriptionUpdate the ICU's default timezone in browser/renderer
When a timezone is changed by a user at the OS level,
the ICU's default timezone has to be updated in both browser
and renderer processes.
This CL propagates the new timezone id to renderers as well as updating
it in the browser process.
A v8-side change is still necessary to get Intl.DateTimeFormat to
work in a new timezone.
BUG=406382, 379595
TEST=Manual test (browser process). 1. Go to history page 2. Change the OS tz 3. Reload the history page and see if the timestamp is in a new timezone.
Committed: https://crrev.com/0a9aa635da90c5a1674cb5cb9d26394ac473a923
Cr-Commit-Position: refs/heads/master@{#327529}
Patch Set 1 #Patch Set 2 : make it cros only for now #Patch Set 3 : use ICU's new host tz detection API #Patch Set 4 : add logs #
Total comments: 5
Patch Set 5 : update tz only once in browser #Patch Set 6 : add a check to render for just testing #Patch Set 7 : revert the last test change #Patch Set 8 : variable name change #Patch Set 9 : add comment about linux tz monitor #
Total comments: 2
Patch Set 10 : init ICU default tz on Linux #Patch Set 11 : init tz only when icu data load succ. #
Total comments: 2
Patch Set 12 : VLOG(1) instead of 0 #Patch Set 13 : rebase #Messages
Total messages: 29 (7 generated)
|