Bun Intl.DateTimeFormat time-zone database version control
0 reputation · 27 Aug 2020, 17:31 UTC
The goal is stable regional date conversion in Bun using Intl.DateTimeFormat with IANA identifiers such as America/New_York, without offset drift between target operating systems or Bun releases.
Available Bun documentation does not describe a Bun-specific time-zone API, runtime flag, environment variable, or configuration file for bundling, overriding, or pinning the IANA time-zone database. Resolution depends on the JavaScript engine's ICU or ICU4X data and the host operating system, so results can change after engine or OS updates. DST gaps and ambiguous local times follow the engine default.
It is unclear whether Bun supports selecting a tzdata version, supplying a custom ICU data file, or normalizing Windows time-zone names. The installed Bun version and deployment operating system may affect output.
Does Bun provide a configuration option to pin or override the IANA time-zone database? If no such option exists, what is the supported approach for stable cross-platform date formatting?