Merge branch 'main' of git.4angle.com:edward/agenda
This commit is contained in:
commit
796edef75c
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue