42 fix reminder time format (Google compatibility)

This commit is contained in:
survellow
2023-11-02 21:10:17 +01:00
parent 0fc6e249d2
commit c9715348a2

View File

@@ -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)