eo_conges: allow half day boundary to start at 12:00 (#82954)
gitea/barbacompta/pipeline/head This commit looks good Details

This commit is contained in:
Valentin Deniaud 2023-10-30 15:20:23 +01:00
parent fd5072cb9e
commit a588ee12ea
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class WorkersMonthlyReport(MonthMixin, YearMixin, TemplateView):
for x in days_off
if hasattr(x.dtstart.value, 'time')
and (
x.dtstart.value.time() > datetime.time(12, 00)
x.dtstart.value.time() >= datetime.time(12, 00)
or x.dtend.value.time() <= datetime.time(15, 00)
)
]