From c9715348a25486db4fc2f084a380076e9d2dcf0c Mon Sep 17 00:00:00 2001 From: survellow <59056368+survellow@users.noreply.github.com> Date: Thu, 2 Nov 2023 21:10:17 +0100 Subject: [PATCH] 42 fix reminder time format (Google compatibility) --- backend/service/ical/icalFileGeneration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/service/ical/icalFileGeneration.go b/backend/service/ical/icalFileGeneration.go index 2c16380..47f41d9 100644 --- a/backend/service/ical/icalFileGeneration.go +++ b/backend/service/ical/icalFileGeneration.go @@ -55,7 +55,7 @@ func addAlarmIfSpecified(s *goics.Component, event model.Event, mapping model.Fe if mapping.Reminder { a := goics.NewComponent() a.SetType("VALARM") - a.AddProperty("TRIGGER", "-PT15M") + a.AddProperty("TRIGGER", "-P0DT0H15M0S") a.AddProperty("ACTION", "DISPLAY") a.AddProperty("DESCRIPTION", "Next course: "+replaceNameIfUserDefined(&event, mapping)+" in "+event.Rooms) s.AddComponent(a)