CustomParseFormat produces incorrect date
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
`customParseFormat` plugin produces different date when an invalid date is passed.
https://runkit.com/embed/k5j55xssyhfq
**Expected behavior**
It should produce `Invalid date`
**Information**
- Day.js v1.8.15
- OS: MacOS Mojave
- Browser Chrome 76
- Time zone: UTC+02:00
Contributor guide
Assessment
This issue has not been assessed yet.