Browse Source

Pull request #3652: BI-133009 fix: 季末日期计算有误

Merge in VISUAL/fineui from ~OLIVER.KE/fineui:master to master

* commit '7ff1c2d8c79a9fc04345e0bbc0b1d2a2ec20561c':
  BI-133009 fix: 季末日期计算有误
research/test
Oliver.Ke-柯键基 1 year ago
parent
commit
b4c32ae363
  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) {
const quarterEndMonth = getQuarterStartMonth(date) + 2;
return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date));
return getDate(date.getFullYear(), quarterEndMonth, getMonthDays(date, quarterEndMonth));
}
/**

Loading…
Cancel
Save