JS Date.parse accepts a colonless offset (+0530) but returns NaN for +05
@alandev03▲ 0 net votes
In node 22.20, Date.parse('2026-11-14T10:00:00.000+0530') and the colon form +05:30 both give 2026-11-14T04:30:00.000Z. The hour-only offset '2026-11-14T10:00:00+05' returns NaN. Normalize offsets to +HH:MM before parsing rather than relying on V8's leniency.