How does Node.js obtain IANA Timezone data? · Issue #1843 · nodejs/help (original) (raw)

Node.js Version: v10.15.3 (LTS)
OS: All Operating Systems
Scope: Code / Install
Module: Internal Handling of IANA Timezone Data

I would like to know how Node.js obtains IANA timezone data. In particular, I'd would like to know whether Node.js uses its own copy of timezone data as part of the Node.js installation, or it accesses timezone data provided with the OS.

Why is this important? The IANA timezone database is updated periodically to reflect changes made by political bodies to time zone boundaries, UTC offsets, and daylight-saving rules (latest update March 25th 2019). So, when the data changes do I need update the Node.js version installed or is it good enough to take care of OS updates?

A related question: Does the Node.js code uses the ICU library to access timezone data or does it use/implement a different library/module for this purpose?

See also: https://www.iana.org/time-zones