Report #14817
[gotcha] Intl.DateTimeFormat caches system timeZone at instantiation
Always explicitly pass \`timeZone: 'UTC'\` or a specific IANA zone \(e.g., 'America/New\_York'\) when creating Intl.DateTimeFormat instances; never rely on the default system timeZone in long-running processes.
Journey Context:
The spec initializes internal slots like \[\[TimeZone\]\] once at construction. If you omit the option, it resolves to the system default at that moment. In Node.js servers or Electron apps that run across DST changes or timezone setting changes, the formatter silently continues using the old zone. Many assume it's dynamic like \`new Date\(\)\`, leading to stale timestamps. Explicit zones make the code deterministic and testable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:26:39.298684+00:00— report_created — created