Merge pull request #390 from emrysal/bugfix/changed-outlook-to-utc-and-open-in-new-tab

pull/392/head
Bailey Pumfleet 2021-07-28 13:46:46 +01:00 committed by GitHub
commit c2bdbb5db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -159,14 +159,14 @@ export default function Success(props) {
"https://outlook.live.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 : "")
}>
<a className="mx-2 btn-wide btn-white">
<a className="mx-2 btn-wide btn-white" target="_blank">
<svg
className="inline-block w-4 h-4 mr-1 -mt-1"
fill="currentColor"
@ -190,7 +190,7 @@ export default function Success(props) {
eventName
) + (location ? "&location=" + location : "")
}>
<a className="mx-2 btn-wide btn-white">
<a className="mx-2 btn-wide btn-white" target="_blank">
<svg
className="inline-block w-4 h-4 mr-1 -mt-1"
fill="currentColor"