From 5b5a471ba387253b13ad979dc09e2aae26bc0892 Mon Sep 17 00:00:00 2001 From: Robert McWilliam Date: Thu, 30 May 2024 23:55:56 +0100 Subject: [PATCH] Bump workshops sropping off the list for checkin to an hour after they start --- apps/schedule/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/schedule/base.py b/apps/schedule/base.py index 841a1ed1d..b99bc8dfc 100644 --- a/apps/schedule/base.py +++ b/apps/schedule/base.py @@ -650,7 +650,8 @@ def workshop_steward_venue(venue_id: int): .filter( WorkshopProposal.type.in_(venue.allowed_types), WorkshopProposal.is_accepted, - WorkshopProposal.scheduled_time > pendulum.now(event_tz.zone).naive(), + WorkshopProposal.scheduled_time > ( + pendulum.now(event_tz.zone).naive() - timedelta(hours=1)), WorkshopProposal.scheduled_duration.isnot(None), WorkshopProposal.hide_from_schedule.isnot(True), WorkshopProposal.user_scheduled.isnot(True),