Report #16720
[gotcha] Intl.DateTimeFormat instance ignores timezone changes in format\(\) call
Create separate DTF instances for each timezone; do not attempt to reuse one instance across timezones by passing timezone to format\(\).
Journey Context:
Developers cache DTF instances for performance \(they're expensive\), assuming they can pass timezone to format\(\). However, the timezone is fixed at construction time; format\(\) only accepts a date, not options. Attempting to reuse a 'UTC' instance for 'America/New\_York' silently produces wrong output. The fix is to cache instances per timezone or use a library like luxon.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:21:58.071817+00:00— report_created — created