Skip to content

Commit da3efb6

Browse files
author
Dhaval Trivedi
committed
only enable 10am to 7pm
1 parent bb1c33e commit da3efb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/datetimepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
'dates': []
328328
};
329329

330-
for (var i = 0; i < 24; i += 1) {
330+
for (var i = 10; i < 20; i += 1) {
331331
var hourMoment = moment.utc(selectedDate).add(i, 'hours');
332332
var dateValue = {
333333
'utcDateValue': hourMoment.valueOf(),

0 commit comments

Comments
 (0)