From ad8cc4e985c1337b791ffcd807b4bfd3eba70c4c Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 27 Jul 2021 23:17:07 +0000 Subject: [PATCH] Updated office365 button to UTC --- pages/success.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/success.tsx b/pages/success.tsx index 0f1bff05ea..4f95936e40 100644 --- a/pages/success.tsx +++ b/pages/success.tsx @@ -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 : "")