From 34b78b0ce8b87ce89805a40817344991312d0232 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 28 Dec 2023 20:12:47 +0000 Subject: [PATCH] Drop min gap days to 3 --- agenda/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenda/data.py b/agenda/data.py index 31ec45e..672faa4 100644 --- a/agenda/data.py +++ b/agenda/data.py @@ -272,7 +272,7 @@ def find_markets_during_stay( return overlapping_markets -def find_gaps(events: list[Event], min_gap_days: int = 5) -> list[tuple[date, date]]: +def find_gaps(events: list[Event], min_gap_days: int = 3) -> list[tuple[date, date]]: """Gaps of at least `min_gap_days` between events in a list of events.""" # Sort events by start date