From aa2ab77b419ce53d81d48dc875656246466985a9 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Wed, 27 Dec 2023 18:26:27 +0100 Subject: [PATCH] comment --- app/models/communication/website/agenda/event.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/communication/website/agenda/event.rb b/app/models/communication/website/agenda/event.rb index 8f40c0bae..f23aaa114 100644 --- a/app/models/communication/website/agenda/event.rb +++ b/app/models/communication/website/agenda/event.rb @@ -176,7 +176,7 @@ class Communication::Website::Agenda::Event < ApplicationRecord # Pas de fin nil elsif to_day.nil? && to_hour.present? - # Heure de fin, donc on se base sur le jour de début + # Heure de fin sans jour de fin, donc on se base sur le jour de début date_and_time(from_day, to_hour) elsif to_day.present? && to_hour.nil? # Jour de fin seul -- GitLab