Re:Parsing Date in JavaScript
by needacig on Sunday March 15, 2015 @07:45PM
(#9208766)
Moment.js has the unfortunate property that it will recognize many non-dates as dates, so it's not much good for validation. For example: `moment("cats 123 <3!!!").isValid()` returns `true`. I have yet to find a date parsing library that will correctly reject this input.