Show events in the past
This commit is contained in:
parent
ec166854cb
commit
500beb49a8
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user