From c1100b7b1663b3d157a79da8b6b3190c35c5b2ce Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Fri, 27 Jun 2025 14:06:53 +0530 Subject: [PATCH] fix typo causing crash in safari --- src/app/utils/time.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/utils/time.ts b/src/app/utils/time.ts index 879938c7..f230e59b 100644 --- a/src/app/utils/time.ts +++ b/src/app/utils/time.ts @@ -24,7 +24,7 @@ export const timeDayMonYear = (ts: number): string => dayjs(ts).format('D MMM YY export const timeDayMonthYear = (ts: number): string => dayjs(ts).format('D MMMM YYYY'); export const daysInMonth = (month: number, year: number): number => - dayjs(`${year}-${month}-1'`).daysInMonth(); + dayjs(`${year}-${month}-1`).daysInMonth(); export const dateFor = (year: number, month: number, day: number): number => dayjs(`${year}-${month}-${day}`).valueOf();