This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
Full validation on Dates (including leap year and calendar date validation)
- Prior to this change, all Date validators had basic tests on them and it wasn't validating leap year (now it does).
- Now it does check for leap year and also requires to be a valid calendar date
- Thanks @jdriesen for providing proper date regex for Euro, I then adapted them for US and found ISO later.
- NOTE: I deprecated the use of any
short
dates (that is year with 2 digits, date_euro_short, date_us_short) because I spent too much time trying to adapt regex I found. If someone can fix them, please make a PR