Skip to main content

Module tzif

Module tzif 

Source
Expand description

Named IANA time zones, read from RFC 8536 TZif data — the copy embedded by jiff_tzdb, falling back to the system’s /usr/share/zoneinfo — what Intl and toLocaleString need for a timeZone: "America/New_York" option.

A TZif file lists every transition up to some year and then, in its footer, the POSIX TZ rule that continues past the last one (EST5EDT,M3.2.0, M11.1.0). macOS ships “slim” files whose transitions stop early and lean on that rule, so both halves are read.

Structs§

LocalType
One local-time type: offset east of UTC in seconds, its abbreviation, and whether it is daylight time (tt_isdst).
Tz
A parsed zone.

Functions§

load
The zone named name, from the embedded database (matched without regard to ASCII case) or else the system copy; .. and absolute paths are refused.