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

fix: retrieve events always in UTC #187

Merged
merged 2 commits into from
Oct 16, 2024
Merged

fix: retrieve events always in UTC #187

merged 2 commits into from
Oct 16, 2024

Conversation

alxndr13
Copy link
Contributor

Making sure we're retrieving events in UTC and write them in the local timezone of the user.

@alxndr13
Copy link
Contributor Author

alxndr13 commented Sep 10, 2024

fixes #168

@alxndr13 alxndr13 changed the title fix #168 fix: retrieve events always in UTC Sep 10, 2024
@Trefex Trefex mentioned this pull request Oct 10, 2024
Alexander Huck and others added 2 commits October 10, 2024 19:56
When creating an event, the timestamp's timezone was silently dropped and
replaced with the timezone of the local system. Timestamps returned by
outlook are in UTC, such that syncing from outlook to outlook resulted
in shifted events on non-UTC systems.

Explicitly convert timestamps to UTC to ensure correctness.
Copy link
Contributor Author

@alxndr13 alxndr13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@MichaelEischer MichaelEischer merged commit c7f18cc into main Oct 16, 2024
5 checks passed
@MichaelEischer MichaelEischer deleted the fix-168 branch October 16, 2024 18:16
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.

2 participants