le matin, c'est jusqu'à 8 heures

This commit is contained in:
Jean-Marie Favreau 2023-11-11 21:38:54 +01:00
parent 2b48a210ae
commit 165a3d3156

View File

@ -69,7 +69,7 @@ class CalendarDay:
return False return False
if event.start_day == event.end_day: if event.start_day == event.end_day:
return False 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): def add_event(self, event):
if not self.is_event_finishing_early_in_this_day(event): if not self.is_event_finishing_early_in_this_day(event):