Drop min gap days to 3

This commit is contained in:
Edward Betts 2023-12-28 20:12:47 +00:00
parent 19271059c0
commit 34b78b0ce8

View file

@ -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