fix valid_from start time being included

This commit is contained in:
Richard Schreiber
2026-05-13 10:31:24 +02:00
parent 49e60700b0
commit ca4e6ab07a

View File

@@ -713,7 +713,7 @@ def _redeem_process(*, checkinlists, raw_barcode, answers_data, datetime, force,
op_candidates_filtered = [
op for op in op_candidates_filtered
if (
(not op.valid_from or op.valid_from < now_dt) and
(not op.valid_from or op.valid_from <= now_dt) and
(not op.valid_until or op.valid_until > now_dt)
)
]