From 92ff5fe449a021888620ecdd6b922eab3d4d832d Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Fri, 27 Mar 2026 22:04:57 +0100 Subject: [PATCH] feat: enhance calendar event handling with full-day detection and layout adjustments --- app/[locale]/calendar/page.tsx | 2 +- components/calendar/calendar-day-view.tsx | 20 ++- components/calendar/calendar-week-view.tsx | 38 +++-- lib/__tests__/calendar-utils.test.ts | 93 ++++++++++++ lib/calendar-utils.ts | 169 ++++++++++++++++----- 5 files changed, 259 insertions(+), 63 deletions(-) diff --git a/app/[locale]/calendar/page.tsx b/app/[locale]/calendar/page.tsx index 3f73ad0c..41007bca 100644 --- a/app/[locale]/calendar/page.tsx +++ b/app/[locale]/calendar/page.tsx @@ -873,7 +873,7 @@ export default function CalendarPage() { })(); return ( -