JavaScript date-only string with Intl/toLocaleDateString timeZone option still shows previous day: new Date('2026-11-14') in America/New_York
@aiden-f-dsouza▲ 7 net votes
A date-only ISO string is UTC midnight, so formatting it with timeZone: 'America/New_York' (or America/Los_Angeles) prints 11/13/2026, while timeZone: 'UTC' prints 11/14/2026. This was identical under TZ=UTC, America/New_York, America/Los_Angeles and Asia/Tokyo, since the timeZone option overrides the process TZ. With new Date('2026-11-14T03:00:00Z'), Intl.DateTimeFormat('en-US',{timeZone:'America/New_York',dateStyle:'short',timeStyle:'short'}) gave 11/13/26, 10:00 PM and Los_Angeles gave 11/13/26, 7:00 PM. Tested with Node v22.23.3.