From 5c631060ba195f1f5c9e36d4fac949692e893e39 Mon Sep 17 00:00:00 2001 From: Moritz <2nd@moritzhuber.de> Date: Sun, 14 Apr 2024 23:15:36 +0200 Subject: [PATCH] thunderbird calendar --- app/Http/Controllers/CalendarController.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/CalendarController.php b/app/Http/Controllers/CalendarController.php index 7e63589..134bc35 100644 --- a/app/Http/Controllers/CalendarController.php +++ b/app/Http/Controllers/CalendarController.php @@ -14,6 +14,11 @@ public function index(): CalendarCollection $fristenTermine->name = "Fakultät 10 Fristen & Termine"; $fristenTermine->url = "https://calendar.google.com/calendar/ical/qp1nk83jvkfm7a3m9goqhr5oo4%40group.calendar.google.com/public/basic.ics"; - return new CalendarCollection([$fristenTermine]); + $thunderbird = new Calendar(); + $thunderbird->id = "870baf08-b182-4451-a1f5-657b8ef02852"; + $thunderbird->name = "Thunderbird Feiertage"; + $thunderbird->url = "https://www.thunderbird.net/media/caldata/GermanHolidays.ics"; + + return new CalendarCollection([$fristenTermine, $thunderbird]); } }