Show events in the past

This commit is contained in:
Tim Lappe 2025-03-15 09:06:01 +01:00
parent ec166854cb
commit 500beb49a8

View File

@ -53,7 +53,7 @@ final class CalendarController extends AbstractController
$startDate = (new DateTime())->format('Y-m-d');
$endDate = (new DateTime('+180 days'))->format('Y-m-d');
$absences = $this->absenceManager->getAbsencesForUser('tim.lappe@check24.de', new DateTime('-1 day'));
$absences = $this->absenceManager->getAbsencesForUser('tim.lappe@check24.de', new DateTime('-1 year'));
$days = $this->calendarService->getAllDays($startDate, $endDate);
$days = $this->calendarService->processAbsences($days, $absences);