From e5d9cedbfef8a134b60963771d479d671d5223e8 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 8 Sep 2025 14:47:27 +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=E7=9A=84=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E4=B8=AD=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E2=80=9C=E8=B6=85=E5=87=BA=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E8=8C=83=E5=9B=B4=E2=80=9D=20#16914?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/time-format-dayjs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 754f537291..708edbc95b 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 @@ -20,7 +20,7 @@ function getAround(val = 'month' as ManipulateType, type = 'add', num = 0) { if (val === 'week') { return new Date(dayjs().endOf('week').add(1, 'day').endOf('day').format('YYYY/MM/DD HH:mm:ss')) } - return new Date(dayjs()[type](num, val).startOf('day').format('YYYY/MM/DD HH:mm:ss')) + return new Date(dayjs()[type](num, val).endOf('day').format('YYYY/MM/DD HH:mm:ss')) } function getThisWeek(): [Date, Date] {