From: Seamus Lee Date: Tue, 20 Oct 2015 22:56:01 +0000 (+0000) Subject: Fix validtion when users time is before 9am X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=53c453fc243b2e423b84a768420244388bb711d4;p=civicrm-core.git Fix validtion when users time is before 9am --- diff --git a/ang/crmMailing/RadioDate.js b/ang/crmMailing/RadioDate.js index 153e9562b9..c747f2e275 100644 --- a/ang/crmMailing/RadioDate.js +++ b/ang/crmMailing/RadioDate.js @@ -58,6 +58,8 @@ var submittedDate = $(this).val(); if (month.length < 2) month = '0' + month; if (day.length < 2) day = '0' + day; + if (hours.length < 2) hours = '0' + hours; + if (minutes.length < 2) minutes = '0' + minutes; date = [year, month, day].join('-'); time = [hours, minutes, "00"].join(':'); currentDate = date + ' ' + time;