dayjs
dayjs copied to clipboard
Parse error with DD.MMM.YY format
Parse error with date format DD.MMM.YY, dayjs('29.Jul.21', 'DD.MMM.YY') returns Invalid Date. Intresting that I tried old version like 1.8.16 and it works fine, but last 1.11.13 returns Invalid Date.
dayjs.extend(customParseFormat); is used of course.
- Day.js Version 1.11.13
- OS: Windows
- Browser Edge
same here with another format
console.log('28/06/67', 'DD/MM/YY', dayjs('28/06/67', 'DD/MM/YY').format('YYYY-MM-DD'))
version: 1.11.13
i've tried with version 1.8.16 also, but same result