commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / bower_components / jquery-validation / src / additional / time.js
1 $.validator.addMethod("time", function(value, element) {
2 return this.optional(element) || /^([01]\d|2[0-3])(:[0-5]\d){1,2}$/.test(value);
3 }, "Please enter a valid time, between 00:00 and 23:59");