Merge branch 'main' of git.4angle.com:edward/agenda
This commit is contained in:
commit
45e4a04fb9
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
|
|
||||||
<strong>conference</strong>
|
<strong>conference</strong>
|
||||||
|
|
|
|
||||||
<a href="{{ url_for("gaps") }}">gaps</a>
|
<a href="{{ url_for("gaps_page") }}">gaps</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="grid-container">
|
<div class="grid-container">
|
||||||
|
|
|
@ -114,7 +114,7 @@
|
||||||
|
|
|
|
||||||
<a href="{{ url_for("conference_list") }}">conference</a>
|
<a href="{{ url_for("conference_list") }}">conference</a>
|
||||||
|
|
|
|
||||||
<a href="{{ url_for("gaps") }}">gaps</a>
|
<a href="{{ url_for("gaps_page") }}">gaps</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
|
|
||||||
<a href="{{ url_for("conference_list") }}">conference</a>
|
<a href="{{ url_for("conference_list") }}">conference</a>
|
||||||
|
|
|
|
||||||
<a href="{{ url_for("gaps") }}">gaps</a>
|
<a href="{{ url_for("gaps_page") }}">gaps</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>flights</h3>
|
<h3>flights</h3>
|
||||||
|
|
Loading…
Reference in a new issue