This commit is contained in:
Edward Betts 2023-10-29 15:50:30 +00:00
parent c6bc2f5f72
commit a93a84adad

View file

@ -336,6 +336,7 @@ def windmill_hill_market_days(start_date: date) -> list[Event]:
count = 0 count = 0
tz = pytz.timezone("Europe/London") tz = pytz.timezone("Europe/London")
t = time(10, 0)
while count < 12: while count < 12:
# Skip months outside of April to December # Skip months outside of April to December
@ -353,7 +354,7 @@ def windmill_hill_market_days(start_date: date) -> list[Event]:
Event( Event(
name="market", name="market",
title="Windmill Hill Market", title="Windmill Hill Market",
date=tz.localize(datetime.combine(first_saturday, time(10, 0))), date=tz.localize(datetime.combine(first_saturday, t)),
) )
) )
count += 1 count += 1