Alarm not showing up in Calendar
lSh4dowl opened this issue · comments
When I add a Alarm with the following line:
e.alarms.append(DisplayAlarm(trigger=timedelta(hours=-2)))
it will add it in this form in the file:
ACTION:DISPLAY
DESCRIPTION:
TRIGGER:-PT2H
END:VALARM
But in gmail or Apple Mail, the alarm will not be set.
You could try the validator here to see whether its a problem with the respective frontend or on our side
This site does not show any errors when running the files, but Google Calendar as well as MacOS Calendar do not recognize the alarms.
Then it's probably a problem with the frontends not being standards-compliant, not ics.py. You can try creating an alarm with one of those tools, exporting the calendar and loading it with ics.py so see how these tools would like to have their alarms. Then try to reproduce that with your code. ;)