From 4daaeca640c3c613a38b99370e20bbde942a9f7f Mon Sep 17 00:00:00 2001 From: "Pedram (PEBR)" Date: Fri, 11 Aug 2023 15:39:12 +0000 Subject: [PATCH] [FIX] calendar: correct event day display in the email This commit addresses an issue in the email templates where event start days were being displayed incorrectly, particularly for events scheduled at specific times in timezones that experienced day shifts during UTC conversion. The previous implementation did not account for the necessary UTC conversion, leading to misaligned event days in the email content. This commit ensures that event start days are accurately calculated based on the appropriate timezone conversion, providing correct and consistent display of event information in the email templates. opw-3458837 closes odoo/odoo#131967 X-original-commit: 1e1781b6242b7b6be8d5a00b1c5270ae572b09b5 Signed-off-by: Arnaud Joset (arj) Signed-off-by: Pedram Bi Ria (pebr) --- addons/calendar/data/mail_template_data.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/calendar/data/mail_template_data.xml b/addons/calendar/data/mail_template_data.xml index 7c7be87027d..3d99e18abb6 100644 --- a/addons/calendar/data/mail_template_data.xml +++ b/addons/calendar/data/mail_template_data.xml @@ -63,7 +63,7 @@ Tuesday
- 4 + 4
May 2021 @@ -208,7 +208,7 @@ Tuesday
- 4 + 4
May 2021 @@ -315,7 +315,7 @@ Tuesday
- 4 + 4
May 2021