datejs / Datejs

A JavaScript Date and Time Library
Other
1.89k stars 483 forks source link

Can't parseExact 13 09 1979 #110

Open sbridgey opened 7 years ago

sbridgey commented 7 years ago

Date.parseExact('13091979', 'ddMMyyyy')

returns date.js:formatted:1613 Uncaught TypeError: Cannot read property 'length' of undefined at date.js:formatted:1613 at Function.$D.parseExact (date.js:formatted:1619) at :1:6

Date.parseExact('14091979', 'ddMMyyyy') works Date.parseExact('12091979', 'ddMMyyyy') works

i'm just using the standard date.js file