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

Use libical timezones where possible #675

Closed
wants to merge 2 commits into from

Conversation

mcclurgm
Copy link
Collaborator

Fixes #572 (and maybe others?)
Initially discussed in #660

This is going to be part 1.

I removed all the GLib.TimeZone logic that I could and instead used libical functions. This should solve issues with unrecognized timezones, since every event has a timezone that is defined within libical. For example, it will solve #572 because it doesn't need to map the timezone in libical's data to a GLib.TimeZone, which was failing.

As discussed on Slack, I plan to remove as many instances of GLib.DateTime as possible in a future PR in favor of using ICal.Time throughout the codebase. But I think that this is a mostly complete and self-contained change, so to break it up as much as possible I'm submitting it as its own PR.

@mcclurgm mcclurgm requested review from tintou and a team June 11, 2021 17:00
@mcclurgm
Copy link
Collaborator Author

mcclurgm commented Jun 11, 2021

Oops--I pushed the wrong branch. TIL don't keep 2 nearly identically named branches around. I'll open a new one with the correct branch... 😬

The new branch is based on #653 though (for testing framework), so I'll have to wait until that is merged.

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

Successfully merging this pull request may close these issues.

Windows timezones are not handled
1 participant