From 9d9760bfb5340c6bb8bfd5f0a0ed264430f1ad35 Mon Sep 17 00:00:00 2001 From: AH-Yussef Date: Mon, 6 Nov 2023 07:14:42 +0000 Subject: [PATCH] [FIX] website_event: change event date format based on language MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to reproduce: - Install the Events module - Go to the General Settings and add French translation and make sure to check the website 1 option - Go to the Events module and select an event - Click on Go To Website smart button on the right top corner - On the event page, Change the language and notice the start and end date format Investigation - The bug is more present in version 16.0 and above. This version has just small issue with formatting since the day and the rest of the date were separate block. - By Using the option format: ‘full’, the date can be formatted correctly depending on the language used opw-3569167 closes odoo/odoo#142425 Signed-off-by: Adrien Widart (awt) Signed-off-by: Ali Hassan Youssef (alhy) --- .../website_event/views/event_templates_page_registration.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website_event/views/event_templates_page_registration.xml b/addons/website_event/views/event_templates_page_registration.xml index 637cc70f66e..244cb8bc53c 100644 --- a/addons/website_event/views/event_templates_page_registration.xml +++ b/addons/website_event/views/event_templates_page_registration.xml @@ -53,7 +53,7 @@
Date & Time
-
+
Start - @@ -64,7 +64,7 @@ ()
-
+
End -