mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
V 3.5 RC 1
This commit is contained in:
9
www/include/jslibs/jquery-validation/localization/methods_nl.js
vendored
Normal file
9
www/include/jslibs/jquery-validation/localization/methods_nl.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Localized default methods for the jQuery validation plugin.
|
||||
* Locale: NL
|
||||
*/
|
||||
jQuery.extend(jQuery.validator.methods, {
|
||||
date: function(value, element) {
|
||||
return this.optional(element) || /^\d\d?[\.\/-]\d\d?[\.\/-]\d\d\d?\d?$/.test(value);
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user