mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-02 17:59:14 +02:00
Merge pull request #45 from HTWK-Leipzig/42-fix-trigger-format
42 fix reminder time format (Google compatibility)
This commit is contained in:
@@ -55,7 +55,7 @@ func addAlarmIfSpecified(s *goics.Component, event model.Event, mapping model.Fe
|
|||||||
if mapping.Reminder {
|
if mapping.Reminder {
|
||||||
a := goics.NewComponent()
|
a := goics.NewComponent()
|
||||||
a.SetType("VALARM")
|
a.SetType("VALARM")
|
||||||
a.AddProperty("TRIGGER", "-PT15M")
|
a.AddProperty("TRIGGER", "-P0DT0H15M0S")
|
||||||
a.AddProperty("ACTION", "DISPLAY")
|
a.AddProperty("ACTION", "DISPLAY")
|
||||||
a.AddProperty("DESCRIPTION", "Next course: "+replaceNameIfUserDefined(&event, mapping)+" in "+event.Rooms)
|
a.AddProperty("DESCRIPTION", "Next course: "+replaceNameIfUserDefined(&event, mapping)+" in "+event.Rooms)
|
||||||
s.AddComponent(a)
|
s.AddComponent(a)
|
||||||
|
Reference in New Issue
Block a user