fix: days of the week in different language in the workflow (#17850)

* fix: days of the week in different language in the workflow

* Update
This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2024-12-05 15:19:45 +00:00
1 parent 2408337c78
commit 82a500aeaa
5 files changed
+13 -6

No files matched your search

@@ -240,6 +240,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
} else if (reminder.workflowStep.template === WorkflowTemplates.REMINDER) {
emailContent = emailReminderTemplate(
false,
reminder.booking.user?.locale || "en",
reminder.workflowStep.action,
getTimeFormatStringFromUserTimeFormat(reminder.booking.user?.timeFormat),
reminder.booking.startTime.toISOString() || "",
@@ -366,6 +367,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
emailContent = emailReminderTemplate(
false,
reminder.booking.user?.locale || "en",
WorkflowActions.EMAIL_ATTENDEE,
getTimeFormatStringFromUserTimeFormat(reminder.booking.user?.timeFormat),
reminder.booking.startTime.toISOString() || "",