From 19271059c0b5ff12a64d135a6f106c44f4b61ac1 Mon Sep 17 00:00:00 2001
From: Edward Betts
Date: Thu, 28 Dec 2023 20:12:21 +0000
Subject: [PATCH 1/2] Bug fix
---
templates/conference_list.html | 2 +-
templates/index.html | 2 +-
templates/travel.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/conference_list.html b/templates/conference_list.html
index 285f280..a61659d 100644
--- a/templates/conference_list.html
+++ b/templates/conference_list.html
@@ -48,7 +48,7 @@
|
conference
|
- gaps
+ gaps
diff --git a/templates/index.html b/templates/index.html
index b412ca7..7c137ac 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -114,7 +114,7 @@
|
conference
|
-
gaps
+
gaps
diff --git a/templates/travel.html b/templates/travel.html
index b9c16ec..c4f3b8e 100644
--- a/templates/travel.html
+++ b/templates/travel.html
@@ -43,7 +43,7 @@
|
conference
|
- gaps
+ gaps
flights
From 34b78b0ce8b87ce89805a40817344991312d0232 Mon Sep 17 00:00:00 2001
From: Edward Betts
Date: Thu, 28 Dec 2023 20:12:47 +0000
Subject: [PATCH 2/2] Drop min gap days to 3
---
agenda/data.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agenda/data.py b/agenda/data.py
index 31ec45e..672faa4 100644
--- a/agenda/data.py
+++ b/agenda/data.py
@@ -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