From 68b25332b19eb218ecf01f10793500645ef59056 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Wed, 8 Apr 2026 11:29:51 +0700 Subject: [PATCH] refactor(FE-set-to-end): Fix date range to include the end of the month --- src/figma-make/components/pages/dashboard/Dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/figma-make/components/pages/dashboard/Dashboard.tsx b/src/figma-make/components/pages/dashboard/Dashboard.tsx index ae0d8f22..36b04cf6 100644 --- a/src/figma-make/components/pages/dashboard/Dashboard.tsx +++ b/src/figma-make/components/pages/dashboard/Dashboard.tsx @@ -62,7 +62,7 @@ const CATEGORY_LABELS: { [key: string]: string } = { const getThisMonthRange = () => ({ dateFrom: moment().startOf('month').format('YYYY-MM-DD'), - dateTo: moment().format('YYYY-MM-DD'), + dateTo: moment().endOf('month').format('YYYY-MM-DD'), }); export function Dashboard() {