guillaumepotier/Parsley.js — pull request #210 by P-Rikhi (2013-04-08 21:30:51+00:00)
Title: Add American Date Validation

Add `americandate` validator to parsley.extend:

* Check that value is month/day/year formatted with either `/`, `-` or `.` delimiters and optional leading zeros.
* Check that value is a valid date (Leap years included)

e.g.:
> 3/2/12
> 03/02/2012
> 3.2.12
> 3-2-2012