Compare commits

...

2 commits

Author SHA1 Message Date
Edward Betts 34b78b0ce8 Drop min gap days to 3 2023-12-28 20:12:47 +00:00
Edward Betts 19271059c0 Bug fix 2023-12-28 20:12:21 +00:00
4 changed files with 4 additions and 4 deletions

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

View file

@ -48,7 +48,7 @@
|
<strong>conference</strong>
|
<a href="{{ url_for("gaps") }}">gaps</a>
<a href="{{ url_for("gaps_page") }}">gaps</a>
</p>
<div class="grid-container">

View file

@ -114,7 +114,7 @@
|
<a href="{{ url_for("conference_list") }}">conference</a>
|
<a href="{{ url_for("gaps") }}">gaps</a>
<a href="{{ url_for("gaps_page") }}">gaps</a>
</p>
<ul>

View file

@ -43,7 +43,7 @@
|
<a href="{{ url_for("conference_list") }}">conference</a>
|
<a href="{{ url_for("gaps") }}">gaps</a>
<a href="{{ url_for("gaps_page") }}">gaps</a>
</p>
<h3>flights</h3>