Browse Source

Fix date picker problem

pull/18101/head
Salih 3 years ago
parent
commit
c365cccd0c
  1. 2
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js

2
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js

@ -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