From 15c52246b70109097d96bad20145f569a3f0eb64 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 5 Nov 2023 12:56:24 +0000 Subject: [PATCH] Only show 24 months of Nailsea market days --- agenda/markets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenda/markets.py b/agenda/markets.py index a616ef1..1aad547 100644 --- a/agenda/markets.py +++ b/agenda/markets.py @@ -89,7 +89,7 @@ def tobacco_factory(start_date: date, weeks: int = 52 * 2) -> list[Event]: return events -def nailsea_farmers(start_date: date, months: int = 52 * 2) -> list[Event]: +def nailsea_farmers(start_date: date, months: int = 24) -> list[Event]: """Nailsea Farmers Market days for the next 12 months from a given date.""" events: list[Event] = [] current_date = start_date