From 53c453fc243b2e423b84a768420244388bb711d4 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 20 Oct 2015 22:56:01 +0000 Subject: [PATCH] Fix validtion when users time is before 9am --- ang/crmMailing/RadioDate.js | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.25.1