projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b50301
)
Fix validtion when users time is before 9am
author
Seamus Lee
<seamuslee001@gmail.com>
Tue, 20 Oct 2015 22:56:01 +0000
(22:56 +0000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 22 Oct 2015 04:54:09 +0000
(
04:54
+0000)
ang/crmMailing/RadioDate.js
patch
|
blob
|
blame
|
history
diff --git
a/ang/crmMailing/RadioDate.js
b/ang/crmMailing/RadioDate.js
index 153e9562b9307689c698d9d5c295e52f2d2a7e17..c747f2e275f2673000a3ace185a88aa296b94268 100644
(file)
--- 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;