$(document).ready((function(){$.validator.addMethod("time24",(function(d){var t=d.split(new RegExp([":"," "].join("|"),"g"));return!(t[0]>23||t[1]>59)&&!!(/^\d{2}:\d{2}$/.test(d)||/^\d{1}:\d{2}$/.test(d)||/^\d{2}:\d{2} ?[AaPp][Mm]$/.test(d)||/^\d{1}:\d{2} ?[AaPp][Mm]$/.test(d))})),$.validator.addMethod("dateLWFormat",(function(d){var t,a;return!d||(t=new RegExp(/(\d?\d\/\d?\d\/\d\d\d\d)+/g),a=moment(d,"DD/MM/YYYY"),t.test(d)&&a.isValid())}),rcmail.labels["locamail_translate.lw_format_date"])}));