holidays language="en_US"

This commit is contained in:
Edward Betts 2023-12-14 23:22:53 +00:00
parent fb62dffa5c
commit 22be45a6a3

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,