gr2m / moment-parseformat

A moment.js plugin to extract the format of a date/time string
http://gr2m.github.io/moment-parseformat
Apache License 2.0
45 stars 30 forks source link

Month and year only formats identified as date and year formats #95

Open Sushant-Sardeshpande opened 5 years ago

Sushant-Sardeshpande commented 5 years ago

Have a date which only had month and year components. The date being sent either as 05-2019, 2019-05, 05/2019 or 2019/05 Identified as YYYY and DD instead of month. A month and year date is more common than a day and year date.

gr2m commented 5 years ago

If you like, see if you can fix the problem without adding too much logic. It seems like the same issue as #60