Merge pull request #389 from emrysal/bugfix/office365-weird-behaviour-non-utc

Updated office365 button to UTC
pull/390/head
Bailey Pumfleet 2021-07-28 08:57:47 +01:00 committed by GitHub
commit f6edd06f85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -183,9 +183,9 @@ export default function Success(props) {
"https://outlook.office.com/calendar/0/deeplink/compose?body=" +
props.eventType.description +
"&enddt=" +
date.add(props.eventType.length, "minute").format() +
date.add(props.eventType.length, "minute").utc().format() +
"&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=" +
date.format() +
date.utc().format() +
"&subject=" +
eventName
) + (location ? "&location=" + location : "")