Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is timezone-aware #1390

Open
niccokunzmann opened this issue Sep 25, 2024 · 0 comments

Comments

@niccokunzmann
Copy link

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant