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
{{ message }}
Repository navigation
Schedule losing timezone when serialized with ical #439
Serialization is working with timezones, and string is correctly generated. But when I do from_ical it defaults to UTC and loses timezone (note that 18:06:35 +0000 should actually be 15:06:35 UTC or 18:06:35 EEST)
Edit: found something very interesting in the specs of RFC2445:
The TZID property parameter MUST NOT be applied to DATE-TIME or TIME
properties whose time values are specified in UTC.
However we see that the time string is being serialized to :20250617T180635 which is in local time. There ical_format(time, force_utc), which If i read things correctly should ALWAYS be UTC.
Activity
hbhanoo commentedon Jun 23, 2021
I just noticed this too!
sergioisidoro commentedon Jun 17, 2025
I'm having the opposite issue (de-serialization, not serialization)
Serialization is working with timezones, and string is correctly generated. But when I do
from_icalit defaults to UTC and loses timezone (note that18:06:35 +0000should actually be15:06:35 UTCor18:06:35 EEST)Edit: found something very interesting in the specs of RFC2445:
However we see that the time string is being serialized to
:20250617T180635which is in local time. Thereical_format(time, force_utc), which If i read things correctly should ALWAYS be UTC.