-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
validation for EU clock (ie no am/pm) for my own project. Here's the code I added.
At line 1031 jquery.validate.js after the digits test
clock: function(value, element) {
return this.optional(element) || /^((0?[1-9]|1[012])(:[0-5]\d){0,2}(\ [AP]M))$|^([01]\d|2[0-3])(:[0-5]\d){0,2}$/.test(value);
},
At line 755
clock: {clock: true}
At line 265
clock: "Please enter use correct format (eg 12:30).",
Metadata
Metadata
Assignees
Labels
No labels