You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timezones and other components can have rrules that are timezone aware. Repetitions might be calculated with timezone awareness.
State now (2.9.0)
dateutil: rrule calculation cannot mix datetimes with timezones with datetimes without timezones
recurring-ical-events: This has been fixed in recurring-ical-events for the event/journal/todo repetition calculation based on dateutil's rrule. However, the icalendar library uses dateutil.rrule straight to create the timezones required without those fixes.
Proposal
My proposal would be to fix the code of dateutil so it can mix timezone awareness with non-timezone aware datetimes. The tests and examples from recurring-ical-events would be sufficient.
Problem
Timezones and other components can have rrules that are timezone aware. Repetitions might be calculated with timezone awareness.
State now (2.9.0)
dateutil: rrule calculation cannot mix datetimes with timezones with datetimes without timezones
recurring-ical-events: This has been fixed in recurring-ical-events for the event/journal/todo repetition calculation based on dateutil's rrule. However, the
icalendar
library uses dateutil.rrule straight to create the timezones required without those fixes.Proposal
My proposal would be to fix the code of dateutil so it can mix timezone awareness with non-timezone aware datetimes. The tests and examples from recurring-ical-events would be sufficient.
Example files
VTIMEZONE: Abfall_EG_1_Ost_2024.txt
See also:
The text was updated successfully, but these errors were encountered: