Merge pull request #618 from rglasser27/fix-time-selection

Fix broken time steps
This commit is contained in:
Valeriy 2017-11-10 20:09:26 +05:00 committed by GitHub
commit 5ba8971989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}