Drop min gap days to 3
This commit is contained in:
parent
19271059c0
commit
34b78b0ce8
|
@ -272,7 +272,7 @@ def find_markets_during_stay(
|
||||||
return overlapping_markets
|
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."""
|
"""Gaps of at least `min_gap_days` between events in a list of events."""
|
||||||
# Sort events by start date
|
# Sort events by start date
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue