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

+1
View File
@@ -10,6 +10,7 @@ export const availabilityUserSelect = Prisma.validator<Prisma.UserSelect>()({
username: true,
endTime: true,
selectedCalendars: true,
timeFormat: true,
schedules: {
select: {
availability: true,