Incorrect date parsing when format is 'MMM-YY'
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
'Apr-22' is getting parsed as 22/04/2001, despite providing parse format as 'MMM-YY', https://jsfiddle.net/Lhv5fpyw/4/
**Expected behavior**
Date should be parsed correctly as 01/04/2022.
**Information**
- Day.js Version 1.11.2
- OS: OSX
- Browser : Chrome 101
- Time zone: BST
Contributor guide
Assessment
This issue has not been assessed yet.