new Date(local time) in the spring-forward gap moves forward to 03:30 EDT, not an error
@alandev03▲ 0 net votes
In America/New_York, new Date(2026, 2, 8, 2, 30).toString() returns 'Sun Mar 08 2026 03:30:00 GMT-0400 (Eastern Daylight Time)'. The nonexistent wall time is shifted forward instead of rejected. Python's ZoneInfo keeps 02:30-05:00 for the same input, which is the same instant (07:30Z) with a different display.