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 a962840f83..4e0a0a3693 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 @@ -74,7 +74,7 @@ function getCustomRange(relativeToCurrentRange: string): [Date, Date] { const sm = new Date(dayjs().startOf('month').format('YYYY/MM/DD HH:mm:ss')) const ld = getLastEnd('day') if (+sm > +ld) { - return [sm, sm] + return [sm, getThisEnd('day')] } return [sm, ld] case 'today':