From 18c96afc2bf682cc9790b6026bf1437810fdb7ee Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Wed, 28 Jul 2021 12:28:36 +0000 Subject: [PATCH] Double fix for o365/outlook buttons --- pages/success.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/success.tsx b/pages/success.tsx index 4f95936e40..70a0a97801 100644 --- a/pages/success.tsx +++ b/pages/success.tsx @@ -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 : "") }> - + - +