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

New Outlook: The UTC time represented after applying the offset must be between years 0 and 10000. #1978

Open
thedude911 opened this issue Sep 22, 2024 · 1 comment
Labels
backlog To be continued... bug Something's not working right RESTful outlook Use Graph API not COM interop timezones

Comments

@thedude911
Copy link

OGCS Version: v3.0.0.6
Edition: Portable
Sync Direction: O<->G

Bug Description
I successfilly used OGCS in the past, now I changed to the new Outlook and try to make it work. To be clear: I start the application with the recommended command line and the settings.xml was fresh from the start.

The first phase seems to work but when it starts to compare Google calendar entries, I get an error:

image

My Google calendar is at GMT+2, which is also the entry which caused the error. When I ignore the error I also get the same error from all remaining Google calendar entries.

Any other information

2024-09-22 07:12:34,612 INFO  7 OutlookGoogleCalendarSync.Console [366] -  Comparing 11 existing Google calendar entries
2024-09-22 07:12:35,063 ERROR  7 OutlookGoogleCalendarSync.Console [362] -  Event update failed.
2024-09-22 07:12:35,341 ERROR  7 OutlookGoogleCalendarSync.Exception [35] -  System.ArgumentOutOfRangeException: Die nach dem Anwenden des Offsets dargestellte UTC-Zeit muss zwischen den Jahren 0 und 10000 liegen.
Parametername: offset
2024-09-22 07:12:35,348 ERROR  7 OutlookGoogleCalendarSync.Exception [22] -  Code: 0x80131502,-2146233086; Location: ValidateDate() in UpdateCalendarEntry() at offset 905 in GoogleCalendar.cs:791:29
2024-09-22 07:12:35,350 ERROR  7 OutlookGoogleCalendarSync.Exception [66] -     bei System.DateTimeOffset.ValidateDate(DateTime dateTime, TimeSpan offset)
   bei System.DateTimeOffset..ctor(DateTime dateTime)
   bei System.DateTimeOffset.op_Implicit(DateTime dateTime)
   bei OutlookGoogleCalendarSync.Google.Graph.Calendar.UpdateCalendarEntry(Event ai, Event ev, Int32& itemModified, Boolean forceCompare) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Google.Graph\GoogleCalendar.cs:Zeile 791.
   bei OutlookGoogleCalendarSync.Google.Graph.Calendar.UpdateCalendarEntries(Dictionary`2 entriesToBeCompared, Int32& entriesUpdated) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Google.Graph\GoogleCalendar.cs:Zeile 717.
2024-09-22 07:12:35,351 DEBUG  7 OutlookGoogleCalendarSync.Extensions.MessageBox [75] -  Sync item failed: Google event update failed. Continue with synchronisation?

@thedude911 thedude911 added the bug Something's not working right label Sep 22, 2024
@phw198 phw198 changed the title new Outlook: UTC-Zeit muss zwischen den Jahren 0 und 10000 liegen New Outlook: The UTC time represented after applying the offset must be between years 0 and 10000. Oct 6, 2024
@phw198 phw198 added timezones RESTful outlook Use Graph API not COM interop labels Oct 6, 2024
Copy link

github-actions bot commented Nov 6, 2024

This issue has been marked dormant because the last update is at least 30 days ago. If no update is made with the next 7 days, the issue will be closed.

@github-actions github-actions bot added the dormant Issue has not been responded to over 30 days label Nov 6, 2024
@phw198 phw198 added backlog To be continued... and removed dormant Issue has not been responded to over 30 days labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog To be continued... bug Something's not working right RESTful outlook Use Graph API not COM interop timezones
Projects
None yet
Development

No branches or pull requests

2 participants