refactor(FE-set-to-end): Fix date range to include the end of the month

This commit is contained in:
rstubryan
2026-04-08 11:29:51 +07:00
parent b402a06706
commit 68b25332b1
@@ -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() {