initial commit
This commit is contained in:
3
public/bower_components/jquery-validation/src/additional/time12h.js
vendored
Normal file
3
public/bower_components/jquery-validation/src/additional/time12h.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
$.validator.addMethod( "time12h", function( value, element ) {
|
||||
return this.optional( element ) || /^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test( value );
|
||||
}, "Please enter a valid time in 12-hour am/pm format" );
|
||||
Reference in New Issue
Block a user