aboutsummaryrefslogtreecommitdiffstats
path: root/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/methods_pt.js
diff options
context:
space:
mode:
Diffstat (limited to 'apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/methods_pt.js')
-rw-r--r--apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/methods_pt.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/methods_pt.js b/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/methods_pt.js
new file mode 100644
index 0000000..d06ccec
--- /dev/null
+++ b/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/methods_pt.js
@@ -0,0 +1,19 @@
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+ define( ["jquery", "../jquery.validate"], factory );
+ } else {
+ factory( jQuery );
+ }
+}(function( $ ) {
+
+/*
+ * Localized default methods for the jQuery validation plugin.
+ * Locale: PT_BR
+ */
+$.extend($.validator.methods, {
+ date: function(value, element) {
+ return this.optional(element) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(value);
+ }
+});
+
+})); \ No newline at end of file