Skip to content

Use libical timezones where possible#675

Closed
mcclurgm wants to merge 2 commits intoelementary:masterfrom
mcclurgm:libical-timezones
Closed

Use libical timezones where possible#675
mcclurgm wants to merge 2 commits intoelementary:masterfrom
mcclurgm:libical-timezones

Conversation

@mcclurgm
Copy link
Copy Markdown
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 a team and tintou June 11, 2021 17:00
@mcclurgm
Copy link
Copy Markdown
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