Describe the bug
When initializing dayjs with the invalid date (day 40 or month 13), it doesn't say that the date is invalid.
example:
dayjs('2025-13-36T14:19:39')
// Thu, 05 Feb 2026 12:19:39 GMT
Expected behavior
date.isValid
should return false.
Information
- Day.js Version [e.g. v1.11.13]
- Framework: Nodejs v22.15.0
- Time zone: GMT+02:00 DST