Browse Source

REPORT-111844 fix:【填报-预览】更换FR样式后,预览时间不同(可复现)

research/test
Kevin.King-王凯壮 11 months ago
parent
commit
714ef52b02
  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