-
-
Notifications
You must be signed in to change notification settings - Fork 171
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] VTIMEZONE to_tz results in ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is timezone-aware #708
Comments
Hi, thanks for reporting this! I think, it might be worth opening an issue in dateutil, too. I have fixed that in the recurring-ical-events for rrules of events. So, there is code that we could use and push upstream into dateutil to fix this. |
I don't think this is an issue with dateutil I just noticed this seems to work when using the git version or the 6.0.0a0 release So I probably need to wait for a 6.0 release and a new version from icalevents to fully resolve my problem
|
I would keep this open until the error really vanishes. Calendars in the wild sometimes bring on edge cases.
Yes, we use dateutil then to generate the timezone. So, it is actually good to track, I think. |
I can say that this is indeed a problem but it is removed in v6.0.0 for the zoneinfo impementation. It only occurs with @jacadzaca @mauritsvanrees @geier, what is your thought on this: Do we want to fix all problems for I would say that since we are low on actual coding power, we focus only on zoneinfo works, pytz fails
|
Plone 6.0 and the latest 6.1 alphas are constrained to This might be a bug that does not get fixed until we migrate to icalendar 6.0.0 in Plone 7.0. |
In 6.0 we should keep using icalendar 5. |
Describe the bug
Getting timezone from a
VTIMEZONE
tag usingto_tz()
I getValueError: RRULE UNTIL values must be specified in UTC when DTSTART is timezone-aware
I noticed this while using icalevents but thought this might belong here and not to icaleventsI used the ICAL file: https://eilenburg.de/fileadmin/2024/Abfall_EG_1_Ost_2024.ics maybe they do not follow the spec but at least https://icalendar.org/validator.html did not report any issues
To Reproduce
Output:
Expected behavior
Environment
icalendar
version: icalendar==5.0.13Additional context
pip3 install https://github.com/collective/icalendar.git
EDIT:
ICS file from link above
As txt file as GitHub does not allow me to upload a ics file
Abfall_EG_1_Ost_2024.txt
The text was updated successfully, but these errors were encountered: