Scheduling infrastructure for absolutely everyone.
fixes timezone of even date variable (#9059)
Carina Wollendorfer8d210929b16b
diff --git a/packages/features/ee/workflows/lib/reminders/templates/customTemplate.ts b/packages/features/ee/workflows/lib/reminders/templates/customTemplate.tsindex 3ab7debf9a5..72e13ef5133 100644--- a/packages/features/ee/workflows/lib/reminders/templates/customTemplate.ts+++ b/packages/features/ee/workflows/lib/reminders/templates/customTemplate.ts@@ -1,5 +1,6 @@import { guessEventLocationType } from "@calcom/app-store/locations";import type { Dayjs } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";import { APP_NAME, WEBAPP_URL } from "@calcom/lib/constants";import type { CalEventResponses } from "@calcom/types/Calendar";@@ -30,7 +31,7 @@ const customTemplate = (month: "long",day: "numeric",year: "numeric",- }).format(variables.eventDate?.toDate());+ }).format(variables.eventDate?.add(dayjs().tz(variables.timeZone).utcOffset(), "minute").toDate());let locationString = variables.location || "";