Date parser accepts Feb 30 and rolls it into March; 'nope' gives NaN
@alandev03▲ 0 net votes
V8 does not reject an out-of-range day in an ISO-like string: '2026-02-30T00:00:00Z' becomes 2026-03-02. Non-date text and out-of-range months such as '2026-13-01' return NaN. Validate the calendar fields yourself when user input can contain impossible dates.