Skip to content
All findings

JS runtimes vs IANA tzdata 2026f (Dec 2026): Deno 2.9.8 and Homebrew Node show Vancouver as PST GMT-08:00 (real: -07), every Node and Chrome 158 is 1 h off for Cuba

Published 4 Dec 2026

2026 has had a lot of real clock changes. Since the summer they have been in force, but many JS runtimes still don't have them:

| tzdb | change | in force | |---|---|---| | 2026b | British Columbia permanent -07 (America/Vancouver) | no fall-back on 2026-11-01 | | 2026c | Alberta permanent -06 (America/Edmonton); Morocco permanent +00 (Africa/Casablanca, Africa/El_Aaiun) | 2026-11-01 / 2026-09-20 | | 2026d | Northwest Territories permanent -06 (America/Inuvik) | 2026-11-01 | | 2026e | Manitoba permanent -05 (America/Winnipeg) | 2026-11-01 | | 2026f (2026-10-27) | Cuba stays on -04 until 2027-11-07 (America/Havana) | 2026-11-01 |

Today (2026-12-04) every one of these zones is in the "changed" period. I checked which JS and Python time sources actually return the new offsets.

Method

  • Truth: the official tzdata2026f.tar.gz, compiled locally with zic -b fat. I didn't use any library's copy. See py/truth.sh and py/truth.py, which produce py/truth.json.
  • Grid: 14 zones (the 7 above, their 4 Canada/* and Cuba links, and 3 control zones) x 16 instants (the 15th of each month, 12:00Z, Sep 2026 to Dec 2027, plus 2026-12-04). That gives 224 UTC offsets per source.
  • Machine: macOS 26.6.2 on Apple silicon. Run on 2026-12-04. All raw output is in output.txt, and run.sh reproduces everything.

Results (wrong offsets out of 224)

| source | tz data | wrong | |---|---|---| | Node 20.20.2 official (EOL, still common) | 2025c | 78 (all 11 affected zones) | | Node 26.11.1 from Homebrew (node 26.11.1_1, links icu4c@78 78.3) | 2026a | 78 | | Deno 2.9.8 (latest) | reports "2026b", behaves pre-2026b | 78 | | Node 22.23.5 / 24.23.0 / 26.11.1 / 26.14.0 / 27.0.0-alpha.0.2.0 official binaries | 2026e | 8 (Havana + Cuba) | | Chrome 158.0.8127.108 (headless, same check in page) | — | 8 (Havana + Cuba) | | luxon 3.7.2, date-fns-tz 3.2.0, dayjs 1.11.23 tz plugin | runtime Intl | same as the runtime (78 on Homebrew node) | | timezone-support 3.1.0 (own data, last release 2022) | old | 78 | | spacetime 7.19.0 (own data, published 2026-11-26) | own | 6: Morocco already +00 on 2026-09-15 (switch was 09-20); Havana still -04 after 2027-11-07 | | moment-timezone 0.6.6 (data 2026f), @js-joda/timezone 3.2.1 | own | 0 | | Bun 1.4.5 (macOS) | — | 0 | | JavaScriptCore (Safari's engine, via osascript -l JavaScript) | macOS ICU | 0 | | Python 3.12 / 3.9 zoneinfo (uses /usr/share/zoneinfo, which is 2026f on macOS 26.6.2), tzdata 2026.6, pytz 2026.6, dateutil 4.0.0, pendulum 3.3.0, arrow 1.4.0 | 2026f | 0 |

Example from output.txt (Homebrew node vs official 26.14.0, TZ=America/Vancouver):

log
v26.11.1 Fri Dec 04 2026 04:00:00 GMT-0800 (Pacific Standard Time)v26.14.0 Fri Dec 04 2026 05:00:00 GMT-0700 (Pacific Daylight Time)

Things that surprised me

1. Homebrew's node is behind the official binary built from the same version. The official Node binaries patch their bundled ICU with newer tz data on each release, so the official v26.11.1 reports tz 2026e. Homebrew's node 26.11.1_1 dynamically links icu4c@78 78.3 and gets that library's tz data, 2026a. So node -v is identical and the offsets for 5 Canadian/Moroccan zones are wrong. (The current Homebrew formula, 26.14.0, now depends on icu4c@79. ICU 79.1 was released 2026-10-22, before 2026f, so it can't contain the Cuba change. I didn't upgrade the machine's node to test it.) 2. Deno's `process.versions.tz` isn't real. Deno 2.9.8 reports tz: "2026b" and node v26.5.1, but it returns BC's old offset (PST, -08), which 2026b fixed. Don't trust that field in Deno when you check data freshness. Test a known zone instead. 3. The 2026f fix is merged but not released in Node. nodejs/node#67704 ("deps: update timezone to 2026f") was merged 2026-11-24. But 26.14.0 and 24.23.0 (both 2026-11-30) and 27.0.0-alpha.0.2.0 still report 2026e and get Havana wrong. 4. Correct offsets still display a "Daylight" name in December. To work around CLDR 48 / ICU 78, tzdb models the permanent-time changes as "DST that never ends" for now. On Node 26.14.0, Vancouver at 2026-12-04 formats as 5:00 AM PDT / Pacific Daylight Time, and Winnipeg as Central Daylight Time. The offsets are right, but the label is the summer one. Avoid snapshot tests or UI copy that assume "December = Standard Time". 5. Temporal follows Intl. In Node 26, Temporal.ZonedDateTime offsets matched Intl exactly on every runtime, and the override below fixes both.

Workaround: load fresh ICU tz data without upgrading the runtime

ICU reads ICU_TIMEZONE_FILES_DIR at startup. Point it at the four .res files from unicode-org/icu-data (zoneinfo64.res, metaZones.res, timezoneTypes.res, windowsZones.res, about 230 KB in total):

bash
mkdir icu2026f && for f in metaZones timezoneTypes windowsZones zoneinfo64; do  curl -sf -o icu2026f/$f.res https://raw.githubusercontent.com/unicode-org/icu-data/main/tzdata/icunew/2026f/44/le/$f.res; doneICU_TIMEZONE_FILES_DIR=$PWD/icu2026f node app.js

Result (from output.txt, section 5): 0 wrong of 224 on Node 20.20.2 (ICU 78.2), official Node 26.14.0, Homebrew node 26.11.1 and Deno 2.9.8. Node then reports process.versions.tz = 2026f. Deno still prints its hard-coded "2026b". A relative path also worked with Homebrew node. I used the 44/le (little-endian) files, which is the variant arm64/x64 needs.

What the docs say

  • The ICU user guide (Time Zone Data) documents ICU_TIMEZONE_FILES_DIR for C/C++ ICU. Neither Node's doc/api/intl.md / cli.md nor Deno's docs mention it. The only hit for the name in nodejs/node is ICU's own putil.cpp. Node's docs only offer NODE_ICU_DATA (a full ICU .dat, which isn't a tz-only override) and TZ.
  • The tzdb NEWS file documents the 2026 changes and the CLDR "temporary hack". It doesn't say which runtimes have shipped them.

Caveats

  • These are macOS (arm64) binaries. Linux Node official builds bundle the same ICU data, but I didn't run them. Bun on Linux bundles its own ICU and wasn't tested.
  • The Chrome result is headless Chrome 158 on macOS. I didn't test Firefox.
  • The truth file is built with macOS's zic (-b fat). It produced one harmless link warning for a South American backward link that isn't in the grid.