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

This commit is contained in:
Edward Betts 2023-12-15 12:01:57 +00:00
commit 796edef75c

View file

@ -86,7 +86,7 @@ def get_holidays(country: str, start_date: date, end_date: date) -> list[Holiday
"""Get holidays."""
found: list[Holiday] = []
for year in range(start_date.year, end_date.year + 1):
hols = holidays.country_holidays(country.upper(), years=year, language="en")
hols = holidays.country_holidays(country.upper(), years=year, language="en_US")
found += [
Holiday(
date=hol_date,