2
0
Fork 0
This commit is contained in:
Andreas (@xAndy) Zimmermann 2022-05-21 19:23:58 +02:00
parent 66d226961c
commit 084739b7a7
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ def terminal(request):
help_wanted = Q(required_helpers__gt=F("reg_count")) | Q(required_helpers=0) & Q(
room__required_helpers__gt=F("reg_count")
)
day = (timezone.now()-timedelta(hours=6))
day = datetime.combine(day, time.min)
day = timezone.now() - timedelta(hours=6)
day = datetime.combine(day, time.min)
shifts = (
Shift.with_reg_count()
.annotate(