-
-
Notifications
You must be signed in to change notification settings - Fork 22
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: event timezones not standardized #59
Comments
Hi @asimonson1125, thanks for reporting this... To be sure that we talk about the same thing ... could you post a whole ics file which can show the issue? The next steps are the tests, then... |
Sure, here's an example. It's in a txt file because that is what github will let me upload, but the contents are the same: This was my test:
and output:
|
To me, this looks like X-WR-TIMEZONE is involved, #53. You are person 3 to report a different expected behaviour. It could well be that there should be a uniform way of handling X-WR-TIMEZONE. |
I opened #71 to discuss it because you are not the only one facing this. |
What do you think? |
I do not have enough experience with ics's to make a hypothesis. I suspect there are multiple problems that were fixed or changed over the course of error reporting (see: my change from the initial report due to google's change in handling), so all I can say is that any tests need to my carefully version controlled. |
@asimonson1125 Would you like to give it a try with the latest version? I believe, since X-WR-TIMEZONE support is integrated now, the times should be reported at the mentioned times. |
Describe the bug
When an event has a specific TZID, either because the event was added from a different calendar or by user's decision to manually change the timezone, recurring-ical-events fails to convert the date times to adjust for the unusual timezone, leaving the processed time to be inaccurate.
To Reproduce
make a calendar event with a timezone different than the one in the calendar header. Resulting raw event DT might look like this:
DTSTART;TZID=America/New_York:20211102T110000
then load the calendar and print out
event['DTSTART']
The text was updated successfully, but these errors were encountered: