Fix user time format not respected and booking dates not localized on emails (#7682)

* Localized booking date

* re add space

* Add locale per format call due to lambda dayjs instance share between users

---------

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
LucasandPeer Richelsen authored and GitHub committed 2023-03-13 16:49:48 +00:00
1 parent 1c8f9cb3fd
commit 18414e857a
5 files changed
+13 -5

No files matched your search

+2
View File
@@ -5,6 +5,7 @@ import type { Time } from "ical.js";
import type { TFunction } from "next-i18next";
import type { Calendar } from "@calcom/features/calendars/weeklyview";
import type { TimeFormat } from "@calcom/lib/timeFormat";
import type { Frequency } from "@calcom/prisma/zod-utils";
import type { Ensure } from "./utils";
@@ -26,6 +27,7 @@ export type Person = {
id?: number;
bookingId?: number;
locale?: string;
timeFormat?: TimeFormat;
};
export type TeamMember = {