Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

date rule #3

Open
zwenza opened this issue Sep 11, 2017 · 1 comment
Open

date rule #3

zwenza opened this issue Sep 11, 2017 · 1 comment

Comments

@zwenza
Copy link
Contributor

zwenza commented Sep 11, 2017

A date validator would be nice.

Should support different date formats like 11/09/2017, 11.09.2017, 11-09-2017.

@zwenza
Copy link
Contributor Author

zwenza commented Dec 11, 2017

@dsumer this would be my suggestion: http://jsfiddle.net/mplungjan/Mqh8D/

In comparison with just a date regex, this would also check if the date is a real valid date.
It would support all mentioned date types. If someone wants a special date regex it would be necessary to use the matchRegexp validator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant