From e89cd460063ec3f6e8e9d53fda45c99c226b5703 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 28 Dec 2023 08:55:53 +0100
Subject: [PATCH] Fix #1513

---
 app/models/communication/website/agenda/event.rb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/app/models/communication/website/agenda/event.rb b/app/models/communication/website/agenda/event.rb
index d8066aa58..a482b9fc9 100644
--- a/app/models/communication/website/agenda/event.rb
+++ b/app/models/communication/website/agenda/event.rb
@@ -188,7 +188,14 @@ class Communication::Website::Agenda::Event < ApplicationRecord
   end
 
   def date_and_time(date, time)
-    Time.new(date.year, date.month, date.day, time.hour, time.min, time.sec, time.zone)
+    # FIXME la timezone est Europe/Paris pour tout
+    Time.new  date.year,
+              date.month,
+              date.day,
+              time.hour,
+              time.min,
+              time.sec,
+              Time.zone
   end
 
   def check_accessibility
-- 
GitLab