Browse Source

Merge pull request #247928 in DEC/fineui from master to feature/x

* commit 'b4c32ae3635644d66585d3a2cf2106dab27dae85':
  BI-133009 fix: 季末日期计算有误
master
superman 1 year ago
parent
commit
78f3b62364
  1. 2
      packages/fineui/src/core/func/date.js

2
packages/fineui/src/core/func/date.js

@ -180,7 +180,7 @@ export function getQuarterStartDate(date) {
export function getQuarterEndDate(date) { export function getQuarterEndDate(date) {
const quarterEndMonth = getQuarterStartMonth(date) + 2; const quarterEndMonth = getQuarterStartMonth(date) + 2;
return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date)); return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date, quarterEndMonth));
} }
/** /**

Loading…
Cancel
Save