UTC-6 Timezones being selected at random for Outlook -> Gcal transfers. Some DST some not.
See original GitHub issueOGCS Version: v2.8.0 and 2.8.1-alpha Installed or Portable: Installed Windows Verson: 10 v1709 (64-bit) Outlook Version Outlook for Office 365 v1902 (64-bit)
Bug Description
OGCS appears to have an issue with the timezone: (UTC-06:00) Central Time (US & Canada)
It appears (US & Canada) is being read by the app as (US %2A Canada) And it doesn’t know what to do with that.
When I perform a full sync, outlook to google calendar, OGCS cannot detect the timezone of the Outlook calendar entry, so it defaults to the first available in the list with UTC of -6 (I am in USA Central time which has DST, but the randomly selected timezone doesn’t always utilize DST). This results in some of the calendar entries showing up in google calendar with the correct time and some an hour later as each is randomly assigned a UTC -6 timezone (some Guatamala, some Managua, and some Central Time - Chicago)
Steps to Reproduce the Issue
Install OGCS 2.8.0 or 2.8.1
Select default outlook calendar
Auth google and select calendar
Perform full sync
Check OGcalsync log and search for timezone
OGcalsync error lines
log
2019-09-13 16:49:53,677 DEBUG 7 OutlookGoogleCalendarSync.GoogleOgcs.Calendar [0] - Processing >> 9/17/2019 10:00 AM => "Nope"
2019-09-13 16:49:53,709 DEBUG 7 OutlookGoogleCalendarSync.GoogleOgcs.Calendar [0] - Processing >> 9/13/2019 9:00 AM => "App - Continue discussion"
2019-09-13 16:49:53,730 DEBUG 7 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Retrieving the meeting organiser's timezone ID.
2019-09-13 16:49:53,730 WARN 7 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Could not find timezone ID based on given description. Attempting some fuzzy logic...
2019-09-13 16:49:53,731 DEBUG 7 OutlookGoogleCalendarSync.NotificationTray [0] - Found a UTC timezone offset of -6
2019-09-13 16:49:53,731 WARN 7 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Could not find timezone with GMT offset of -6 for country (UTC-06:00) Central Time (US %2A Canada). Picking the first offset match regardless of country.
2019-09-13 16:49:53,920 DEBUG 7 OutlookGoogleCalendarSync.Console [0] - 9/13/2019 9:00 AM "App - Continue discussion"
2019-09-13 16:49:53,921 DEBUG 7 OutlookGoogleCalendarSync.Console [0] - AttributeChangeStart TimezoneAmerica/Managua → America/GuatemalaEnd TimezoneAmerica/Managua → America/GuatemalaAttendee added{redacted attendees added}
2019-09-13 16:49:53,990 DEBUG 7 OutlookGoogleCalendarSync.Console [0] - 7 attributes updated.
2019-09-13 16:49:54,562 DEBUG 7 OutlookGoogleCalendarSync.GoogleOgcs.Calendar [0] - Processing >> 9/12/2019 3:00 PM => "OoO"
2019-09-13 16:49:54,589 DEBUG 7 OutlookGoogleCalendarSync.GoogleOgcs.Calendar [0] - Processing >> 9/11/2019 1:30 PM (R) => "Canceled: CR/DO Sync meeting"
2019-09-13 16:49:54,590 DEBUG 7 OutlookGoogleCalendarSync.Recurrence [0] - Creating Google iCalendar definition for recurring event.
2019-09-13 16:49:54,604 DEBUG 7 OutlookGoogleCalendarSync.Recurrence [0] - RRULE:FREQ=WEEKLY;UNTIL=20200304T133000Z
2019-09-13 16:49:54,625 DEBUG 7 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Retrieving the meeting organiser's timezone ID.
2019-09-13 16:49:54,625 WARN 7 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Could not find timezone ID based on given description. Attempting some fuzzy logic...
2019-09-13 16:49:54,626 DEBUG 7 OutlookGoogleCalendarSync.NotificationTray [0] - Found a UTC timezone offset of -6
2019-09-13 16:49:54,626 WARN 7 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Could not find timezone with GMT offset of -6 for country (UTC-06:00) Central Time (US %2A Canada). Picking the first offset match regardless of country.
2019-09-13 16:49:55,403 DEBUG 7 OutlookGoogleCalendarSync.Console [0] - 9/11/2019 1:30 PM "Canceled: CR/DO Sync meeting"
2019-09-13 16:49:55,404 DEBUG 7 OutlookGoogleCalendarSync.Console [0] - AttributeChangeRecurrenceRRULE:FREQ=WEEKLY;UNTIL=20200304T193000Z → RRULE:FREQ=WEEKLY;UNTIL=20200304T133000ZAttendee added{redacted attendees added}
2019-09-13 16:49:55,456 DEBUG 7 OutlookGoogleCalendarSync.Console [0] - 16 attributes updated.
2019-09-13 16:49:56,871 DEBUG 7 OutlookGoogleCalendarSync.Recurrence [0] - 9/11/2019 1:30 PM (R) => "Canceled: CR/DO Sync meeting"
2019-09-13 16:49:56,872 DEBUG 7 OutlookGoogleCalendarSync.Recurrence [0] - This is a recurring appointment with 1 exceptions that will now be iteratively compared.
Enhancement checklist by @phw198
- Create XML file to persist custom timezone mappings
- GUI to administrate custom mappings
- During fuzzy logic stage, populate GUI + user confirmation
- In-memory dictionary of existing mappings for use during sync
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (3 by maintainers)
The prompt/select fix works great. 😃 Thank you. (Sorry for not responding sooner).
Good for me. Just a quick note, once I selected a correspondence for a given timezone, I got a second line with a blank time zone. I gave him the same correspondence and it worked fine.