Browse Source

Delete duplicate declaration of date

BRAHIM 11 years ago
parent
commit
f55dbf926c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/js/validator/date.js

+ 1 - 1
src/js/validator/date.js

@@ -182,7 +182,7 @@
                 max = this.parseDate(options.max, dateFormat, separator);
             }
 
-            var date = new Date(year, month, day, hours, minutes, seconds);
+            date = new Date(year, month, day, hours, minutes, seconds);
 
             switch(true) {
                 case(options.min && !options.max && valid):