Fix date picker problem

pull/18101/head
Salih 2 years ago
parent be9ab859db
commit c365cccd0c

@ -417,7 +417,7 @@
var isUtc = options.isUtc;
dateFormat = dateFormat || options.dateFormat;
if (!date) {
return isUtc ? moment.utc() : moment();
return isUtc ? moment.utc().startOf('day') : moment().startOf('day');
}
if (isUtc) {

Loading…
Cancel
Save