NYPD / ritsu.js

HTML form validation
MIT License
2 stars 0 forks source link

Incorrect logic with the data-no-past-date attribute #24

Closed NYPD closed 8 years ago

NYPD commented 8 years ago
if(isNoPastDate && !invalidNumeric) invalidNumeric = new Date().getTime() > new Date(fieldValue);

What were you thinking bro?

NYPD commented 8 years ago

Fixed in e1d49a52c12ebaca8d5fe1a2d416200a44dd224a