diff --git a/src/components/overview/AgendaView.vue b/src/components/overview/AgendaView.vue index 7fc9fe2..8b9b0f2 100644 --- a/src/components/overview/AgendaView.vue +++ b/src/components/overview/AgendaView.vue @@ -158,8 +158,7 @@ export default defineComponent({ } async function loadAgendas() { - const selected = new Date(selectedDate.value); - console.log(selected); + const selected = date.adjustDate(new Date(selectedDate.value), {milliseconds: 0, seconds: 0, minutes: 0, hours: 0}); const start = calendarRealView.value === 'day' ? selected : startOfWeek(selected); const end = date.addToDate(start, { days: calendarDays.value });