Forum Discussion

googlejw's avatar
googlejw
Copper Contributor
Mar 24, 2023

Outlook Calendar deep link for business accounts (office365.live.com) positive (+) time offset bug

When using deep links with business accounts (office365.live.com), I'm experiencing an issue with positive (`+`) time offsets (for example: Australia (GMT+11)) not populating the `startdt` and `enddt` fields correctly. I believe this is because the `%2B` is being incorrectly converted to a space.

Note: See thread on how the `+` character should be decoded: https://stackoverflow.com/a/29948396

To replicate:

1. Click a deep link with a positive time offset: https://outlook.live.com/calendar/0/deeplink/compose?path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=2023-03-18T20%3A00%3A00%2B11%3A00&enddt=2023-03-20T04%3A00%3A00%2B11%3A00&subject=jw_160323_add-to-calendar (Redirects to sign in page)
2. Sign in with a Business (created by an administrator) Office 365 account (Redirects to calendar)

Outcome: The `startdt` will default to the next hour and the `enddt` will default to 30 minutes later.

Notes:

 

  • This works fine with negative time offsets, see: https://outlook.live.com/calendar/0/deeplink/compose?path=%252Fcalendar%252Faction%252Fcompose&rru=addevent&startdt=2023-03-18T02%3A00%3A00-07%3A00&enddt=2023-03-19T10%3A00%3A00-07%3A00&subject=jw_160323_add-to-calendar
  • For positive offsets, the payload in the network tab will have a space character between the datetime and offset in the `startdt` and `enddt` payloads (`2023-03-18T20:00:00 11:00`)
  • For negative offsets, the payload in the network tab will have a plus character between the datetime and offset in the `startdt` and enddt` payloads (`2023-03-18T20:00:00+11:00`)
  • I cannot find any official documentation

 

Threads with similar (but not identical) issues:

  • https://learn.microsoft.com/en-us/answers/questions/1089985/outlook-showing-wrong-time-for-calendar-event-link
  • https://answers.microsoft.com/en-us/outlook_com/forum/all/outlook-showing-wrong-time-for-calendar-event/147eae75-3842-4fe4-8dd2-65f1c4bf9eae
  • https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs/issues/21

 

No RepliesBe the first to reply

Resources