Merge branch 'main' of git.4angle.com:edward/agenda

This commit is contained in:
Edward Betts 2023-12-28 20:14:05 +00:00
commit 45e4a04fb9
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>