dayjs('2014-01-33').format('DD/MM/YYYY') doesn't return invalid date
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
````
const day = dayjs('2014-01-33').format('DD/MM/YYYY');
console.log(lastDay); // return 02/02/2014
````
doesn't return invalid date
**Expected behavior**
Should the above expression return invalid date or is this the expected behavior?
**Information**
- Day.js Version: v1.11.6
- OS: Debian version 11.5
- Browser: Chrome 107.0.5304.87
- Time zone: +1
Contributor guide
Assessment
This issue has not been assessed yet.