Simple-Calendar
Simple-Calendar copied to clipboard
Cant import .ics file if DURATION argument is set before DTSTART
Hello guys,
i created .ics files with icspy package. I tested these created .ics files with the google calendar and they both work. I wanted to use the finished .ics file with Simple-Calendar and they didnt work with the error massage that the meeting cant be in the past. I manually swaped the DTSTART and DURATION Keyword and the .ics worked fine.
These are the two .ics files: This does not work:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:ics.py - http://git.io/lLljaA
BEGIN:VEVENT
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-PT2H
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P1D
END:VALARM
DESCRIPTION:FOO
DURATION:PT4H
DTSTART:20231121T184500Z
SUMMARY:BAR
UID:[email protected]
END:VEVENT
END:VCALENDAR
This does work:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:ics.py - http://git.io/lLljaA
BEGIN:VEVENT
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-PT2H
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P1D
END:VALARM
DESCRIPTION:FOO
DTSTART:20231121T184500Z
DURATION:PT4H
SUMMARY:BAR
UID:[email protected]
END:VEVENT
END:VCALENDAR