Skip to content

Commit

Permalink
Specify UTC time zone for Google event retrieval.
Browse files Browse the repository at this point in the history
  • Loading branch information
phw198 committed Dec 20, 2024
1 parent 04c2f11 commit ef24e40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OutlookGoogleCalendarSync/Google/GoogleCalendar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public List<Event> GetCalendarEntriesInRange(System.DateTime from, System.DateTi

lr.TimeMin = from;
lr.TimeMax = to;
lr.TimeZone = "UTC";
lr.PageToken = pageToken;
lr.ShowDeleted = false;
lr.SingleEvents = false;
Expand Down

0 comments on commit ef24e40

Please sign in to comment.