-
- Downloads
[FIX] event, website_event: timezone timestamp to compute one day
Have an event in Mexico timezone As a begin date, choose something in the morning As a end date, choose 18:00 in that timezone (or later) in the same day The end date will be written as the day after at 00:00 in UTC Before this commit, the event was considered taking more than one day Also, the rendering on the website took the wrong widget, and did not transform the UTC dates into their TZ value After this commit, the event is considered taking place in the same day The rendering on the website is correct OPW 2087828 closes odoo/odoo#39060 X-original-commit: 4514ff30 Signed-off-by:Lucas Perais (lpe) <lpe@odoo.com>
Showing
- addons/event/models/event.py 3 additions, 1 deletionaddons/event/models/event.py
- addons/event/tests/test_event_flow.py 6 additions, 0 deletionsaddons/event/tests/test_event_flow.py
- addons/website_event/views/event_templates.xml 8 additions, 8 deletionsaddons/website_event/views/event_templates.xml
Please register or sign in to comment