From fbfc7e1a6cd87e4a6bdceb328bd94ad8b1e2d86e Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 19 Nov 2025 17:47:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6=E4=B8=AD=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=97=B6=E9=97=B4=E4=B8=BA=E6=9C=80=E8=BF=91?= =?UTF-8?q?=E5=85=AD=E4=B8=AA=E6=9C=88=E5=AE=9E=E9=99=85=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E4=B8=BA7=E4=B8=AA=E6=9C=88=20#17456?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/time-format-dayjs.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/custom-component/v-query/time-format-dayjs.ts b/core/core-frontend/src/custom-component/v-query/time-format-dayjs.ts index a0c60ff2a8..4b2e680839 100644 --- a/core/core-frontend/src/custom-component/v-query/time-format-dayjs.ts +++ b/core/core-frontend/src/custom-component/v-query/time-format-dayjs.ts @@ -55,17 +55,17 @@ function getCustomRange(relativeToCurrentRange: string): [Date, Date] { return getThisWeek() case 'LastThreeMonths': return [ - new Date(dayjs().subtract(3, 'month').startOf('month').format('YYYY/MM/DD HH:mm:ss')), + new Date(dayjs().subtract(2, 'month').startOf('month').format('YYYY/MM/DD HH:mm:ss')), getThisEnd('day') ] case 'LastSixMonths': return [ - new Date(dayjs().subtract(6, 'month').startOf('month').format('YYYY/MM/DD HH:mm:ss')), + new Date(dayjs().subtract(5, 'month').startOf('month').format('YYYY/MM/DD HH:mm:ss')), getThisEnd('day') ] case 'LastTwelveMonths': return [ - new Date(dayjs().subtract(12, 'month').startOf('month').format('YYYY/MM/DD HH:mm:ss')), + new Date(dayjs().subtract(11, 'month').startOf('month').format('YYYY/MM/DD HH:mm:ss')), getThisEnd('day') ] case 'YearToThisMonth':