From 4a50145329a4949798ff7322632abe50f290a2a2 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Mon, 6 Oct 2025 19:30:58 +0200 Subject: [PATCH] fix calendar header timezone issue --- .../ui/src/FullCalendar/FullCalendarDayHeader.vue | 5 +++-- .../ui/src/FullCalendar/TimeEntryCalendar.vue | 13 ++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/js/packages/ui/src/FullCalendar/FullCalendarDayHeader.vue b/resources/js/packages/ui/src/FullCalendar/FullCalendarDayHeader.vue index fd2d7a17..e4688733 100644 --- a/resources/js/packages/ui/src/FullCalendar/FullCalendarDayHeader.vue +++ b/resources/js/packages/ui/src/FullCalendar/FullCalendarDayHeader.vue @@ -2,9 +2,10 @@ import { computed, inject, type ComputedRef } from 'vue'; import { formatDate, formatHumanReadableDuration } from '../utils/time'; import type { Organization } from '@/packages/api/src'; +import type { Dayjs } from 'dayjs'; const props = defineProps<{ - date: Date; + date: Dayjs; totalMinutes?: number; }>(); @@ -20,7 +21,7 @@ const dateFormat = computed(() => organization?.value?.date_format);