mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Reverting this line to an older version. The change is breaking the time selection when using the "step" option.
This commit is contained in:
parent
e8aedc54ec
commit
68fa53992c
@ -1771,7 +1771,7 @@ var datetimepickerFactory = function ($) {
|
||||
for (i = 0, j = 0; i < (options.hours12 ? 12 : 24); i += 1) {
|
||||
for (j = 0; j < 60; j += options.step) {
|
||||
h = (i < 10 ? '0' : '') + i;
|
||||
m = (j < 10 ? _xdsoft_datetime.now().getMinutes() : '') + j;
|
||||
m = (j < 10 ? '0' : '') + j;
|
||||
line_time(h, m);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user