Describe the bug
When I have an event with the attribute DURATION (https://www.rfc-editor.org/rfc/rfc5545#section-3.8.2.5), then the value DTEND is still set. This makes it an invalid event for to_ical()
: DTEND and DURATION MUST not occur at the same time. This might not be so much of an issue but it could be. This should be checked.
To Reproduce
Get the events from the example with duration
See that DTEND and DURATION are both possible.
ICS file
Expected behavior
I would opt for removing DURATION like RDATE and such, as written in https://github.com/niccokunzmann/python-recurring-ical-events?tab=readme-ov-file#events-as-list
Console output
Version:
Additional context
Suggested implementation
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too