• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Nov-2020-

BUILD.gnH A D07-Nov-2020329 1310

DEPSH A D07-Nov-2020202 65

OWNERSH A D07-Nov-202061 43

README.mdH A D07-Nov-2020996 2417

timezone_controller.ccH A D07-Nov-20206.1 KiB177124

timezone_controller.hH A D07-Nov-20202.2 KiB6734

README.md

1# core/timezone
2
3This directory contains code which manages the time zone associated with
4a renderer. At this point the functionality involves setting ICU's default
5time zone and notifying V8 and workers.
6
7Most of the time, TimeZoneController just listens to mojo notifications sent
8by TimeZoneMonitor service that watches host system time zone changes and sets
9the time zone accordingly.
10
11Time zone override mode allows clients to temporarily override host system
12time zone with the one specified by the client. When the override is removed,
13the current host system time zone is assumed.
14
15Time zone override functionality is exposed through the DevTools protocol method
16Emulation.setTimezoneOverride.
17
18The time zone identifier format is compatible with **IANA time zone database**,
19also known as **Olson database**. The list of available time zone identifiers
20can be found in the [List of tz database time zones][1]
21
22## See Also
23[1]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
24