From 165a3d315624b7923497d3e660763dc65702cc70 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 11 Nov 2023 21:38:54 +0100 Subject: [PATCH] =?UTF-8?q?le=20matin,=20c'est=20jusqu'=C3=A0=208=20heures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda_culturel/views.py b/src/agenda_culturel/views.py index a1eb26b..e89a797 100644 --- a/src/agenda_culturel/views.py +++ b/src/agenda_culturel/views.py @@ -69,7 +69,7 @@ class CalendarDay: return False if event.start_day == event.end_day: return False - return event.end_day == self.date and event.end_time < time(4) + return event.end_day == self.date and event.end_time < time(8) def add_event(self, event): if not self.is_event_finishing_early_in_this_day(event):