Browse Source

Merge pull request #259136 in DEC/fineui from bugfix/11.0 to feature/x

* commit '604b990dcde41f6859b2f5dfa4678881d97a24ca':
  REPORT-111844 fix:【填报-预览】更换FR样式后,预览时间不同(可复现)
research/test
superman 11 months ago
parent
commit
a3b43e08b2
  1. 2
      packages/fineui/src/core/2.base.js

2
packages/fineui/src/core/2.base.js

@ -1367,7 +1367,7 @@ export function parseDateTime(str, fmt) {
m = today.getMonth(); m = today.getMonth();
} }
if (_global.isNaN(d)) { if (_global.isNaN(d)) {
d = Math.min(getMonthDays(getDate(y, m)), today.getDate()); d = 1;
} }
if (_global.isNaN(hr)) { if (_global.isNaN(hr)) {
hr = today.getHours(); hr = today.getHours();

Loading…
Cancel
Save