From 22be45a6a3bd15fbba44f4ebc4cd4cc82549eb9d Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 14 Dec 2023 23:22:53 +0000 Subject: [PATCH] holidays language="en_US" --- agenda/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenda/data.py b/agenda/data.py index c8f7acd..443f666 100644 --- a/agenda/data.py +++ b/agenda/data.py @@ -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,