Default to time in datetime picker

Closes #284
This commit is contained in:
Christopher C. Wells 2021-09-03 20:45:21 -07:00
parent 4b95ad48dc
commit 53f249d1af
7 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
clear: 'icon-delete', clear: 'icon-delete',
close: 'icon-cancel' close: 'icon-cancel'
}, },
viewMode: 'times',
}; };
element.datetimepicker($.extend(defaultOptions, options)); element.datetimepicker($.extend(defaultOptions, options));
} }

Binary file not shown.

View File

@ -45,6 +45,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
clear: 'icon-delete', clear: 'icon-delete',
close: 'icon-cancel' close: 'icon-cancel'
}, },
viewMode: 'times',
}; };
element.datetimepicker($.extend(defaultOptions, options)); element.datetimepicker($.extend(defaultOptions, options));
} }

BIN
static/babybuddy/js/app.d994188e7b84.js.gz generated Normal file

Binary file not shown.

View File

@ -45,6 +45,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
clear: 'icon-delete', clear: 'icon-delete',
close: 'icon-cancel' close: 'icon-cancel'
}, },
viewMode: 'times',
}; };
element.datetimepicker($.extend(defaultOptions, options)); element.datetimepicker($.extend(defaultOptions, options));
} }

Binary file not shown.

File diff suppressed because one or more lines are too long