diff --git a/holidays/countries/armenia.py b/holidays/countries/armenia.py index 17fda98b4..937e1081c 100644 --- a/holidays/countries/armenia.py +++ b/holidays/countries/armenia.py @@ -82,8 +82,11 @@ def _populate_public_holidays(self): ) if self._year >= 1995: - # Victory and Peace Day. - self._add_world_war_two_victory_day(tr("Հաղթանակի և Խաղաղության տոն")) + self._add_world_war_two_victory_day( + # Victory and Peace Day. + tr("Հաղթանակի և Խաղաղության տոն"), + is_western=False, + ) # Republic Day. self._add_holiday_may_28(tr("Հանրապետության օր")) diff --git a/holidays/countries/azerbaijan.py b/holidays/countries/azerbaijan.py index cd02b78d0..4562f3795 100644 --- a/holidays/countries/azerbaijan.py +++ b/holidays/countries/azerbaijan.py @@ -78,8 +78,13 @@ def _populate_public_holidays(self): dts_observed.add(self._add_holiday_mar_23(name)) dts_observed.add(self._add_holiday_mar_24(name)) - # Victory over Fascism Day. - dts_observed.add(self._add_world_war_two_victory_day(tr("Faşizm üzərində qələbə günü"))) + dts_observed.add( + self._add_world_war_two_victory_day( + # Victory over Fascism Day. + tr("Faşizm üzərində qələbə günü"), + is_western=False, + ) + ) if self._year >= 1992: dts_observed.add( diff --git a/holidays/countries/belarus.py b/holidays/countries/belarus.py index 781a7831e..d209f0963 100644 --- a/holidays/countries/belarus.py +++ b/holidays/countries/belarus.py @@ -64,7 +64,7 @@ def _populate_public_holidays(self): self._add_labor_day(tr("Свята працы")) # Victory Day. - self._add_world_war_two_victory_day(tr("Дзень Перамогі")) + self._add_world_war_two_victory_day(tr("Дзень Перамогі"), is_western=False) # Independence Day. self._add_holiday_jul_3(tr("Дзень Незалежнасці Рэспублікі Беларусь (Дзень Рэспублікі)")) diff --git a/holidays/countries/bosnia_and_herzegovina.py b/holidays/countries/bosnia_and_herzegovina.py index 0ca8b0649..91cbf2e1a 100644 --- a/holidays/countries/bosnia_and_herzegovina.py +++ b/holidays/countries/bosnia_and_herzegovina.py @@ -146,7 +146,7 @@ def _populate_subdiv_bih_public_holidays(self): self._add_labor_day_two(name) # Victory Day. - self._add_world_war_two_victory_day(tr("Dan pobjede nad fašizmom")) + self._add_world_war_two_victory_day(tr("Dan pobjede nad fašizmom"), is_western=False) # Statehood Day. self._add_holiday_nov_25(tr("Dan državnosti")) @@ -220,7 +220,7 @@ def _populate_subdiv_srp_public_holidays(self): self._add_labor_day_two(name) # Victory Day. - self._add_world_war_two_victory_day(tr("Dan pobjede nad fašizmom")) + self._add_world_war_two_victory_day(tr("Dan pobjede nad fašizmom"), is_western=False) self._add_holiday_nov_21( # Dayton Agreement Day. diff --git a/holidays/countries/czechia.py b/holidays/countries/czechia.py index 888037afa..f1e34b787 100644 --- a/holidays/countries/czechia.py +++ b/holidays/countries/czechia.py @@ -52,10 +52,13 @@ def _populate_public_holidays(self): if self._year >= 1992: # Victory Day. - self._add_holiday_may_8(tr("Den vítězství")) + self._add_world_war_two_victory_day(tr("Den vítězství")) elif self._year >= 1947: - # Day of Victory over Fascism. - self._add_world_war_two_victory_day(tr("Den vítězství nad hitlerovským fašismem")) + self._add_world_war_two_victory_day( + # Day of Victory over Fascism. + tr("Den vítězství nad hitlerovským fašismem"), + is_western=False, + ) if self._year >= 1951: # Saints Cyril and Methodius Day. diff --git a/holidays/countries/france.py b/holidays/countries/france.py index 663e2f61a..28623497b 100644 --- a/holidays/countries/france.py +++ b/holidays/countries/france.py @@ -85,7 +85,7 @@ def _populate_public_holidays(self): if 1953 <= self._year <= 1959 or self._year >= 1982: # Victory Day. - self._add_holiday_may_8(tr("Fête de la Victoire")) + self._add_world_war_two_victory_day(tr("Fête de la Victoire")) if self._year >= 1880: # National Day. diff --git a/holidays/countries/georgia.py b/holidays/countries/georgia.py index 988efeaf3..d68034362 100644 --- a/holidays/countries/georgia.py +++ b/holidays/countries/georgia.py @@ -76,7 +76,7 @@ def _populate_public_holidays(self): self._add_holiday_apr_9(tr("ეროვნული ერთიანობის დღე")) # Day of Victory over Fascism. - self._add_world_war_two_victory_day(tr("ფაშიზმზე გამარჯვების დღე")) + self._add_world_war_two_victory_day(tr("ფაშიზმზე გამარჯვების დღე"), is_western=False) # Saint Andrew's Day. self._add_holiday_may_12(tr("წმინდა ანდრია პირველწოდებულის დღე")) diff --git a/holidays/countries/kazakhstan.py b/holidays/countries/kazakhstan.py index 5f7467a58..836146cb7 100644 --- a/holidays/countries/kazakhstan.py +++ b/holidays/countries/kazakhstan.py @@ -130,7 +130,7 @@ def _populate_public_holidays(self): dts_observed.add(self._add_holiday_may_7(tr("Отан Қорғаушы күні"))) # Victory Day. - dt = self._add_world_war_two_victory_day(tr("Жеңіс күні")) + dt = self._add_world_war_two_victory_day(tr("Жеңіс күні"), is_western=False) if self._year != 2020: dts_observed.add(dt) diff --git a/holidays/countries/kyrgyzstan.py b/holidays/countries/kyrgyzstan.py index ac2146434..4fc9c86c0 100644 --- a/holidays/countries/kyrgyzstan.py +++ b/holidays/countries/kyrgyzstan.py @@ -58,7 +58,7 @@ def _populate_public_holidays(self): self._add_holiday_may_5("Constitution Day") # Victory Day. - self._add_world_war_two_victory_day("Victory Day") + self._add_world_war_two_victory_day("Victory Day", is_western=False) # Independence Day. self._add_holiday_aug_31("Independence Day") diff --git a/holidays/countries/moldova.py b/holidays/countries/moldova.py index 813224f1d..3858d9717 100644 --- a/holidays/countries/moldova.py +++ b/holidays/countries/moldova.py @@ -64,15 +64,16 @@ def _populate_public_holidays(self): # International Workers' Solidarity Day. self._add_labor_day(tr("Ziua internaţională a solidarităţii oamenilor muncii")) - may_9 = self._add_world_war_two_victory_day( + self._add_world_war_two_victory_day( # Victory Day and Commemoration of the heroes fallen for # Independence of Fatherland. - tr("Ziua Victoriei și a comemorării eroilor căzuţi pentru Independenţa Patriei") + tr("Ziua Victoriei și a comemorării eroilor căzuţi pentru Independenţa Patriei"), + is_western=False, ) if self._year >= 2017: # Europe Day. - self._add_holiday(tr("Ziua Europei"), may_9) + self._add_holiday_may_9(tr("Ziua Europei")) if self._year >= 2016: # International Children's Day. diff --git a/holidays/countries/russia.py b/holidays/countries/russia.py index 05589e9db..c2c8aff60 100644 --- a/holidays/countries/russia.py +++ b/holidays/countries/russia.py @@ -75,7 +75,7 @@ def _populate_public_holidays(self): self._add_labor_day_two(name) # Victory Day. - self._add_world_war_two_victory_day(tr("День Победы")) + self._add_world_war_two_victory_day(tr("День Победы"), is_western=False) if self._year >= 1992: self._add_holiday_jun_12( diff --git a/holidays/countries/slovakia.py b/holidays/countries/slovakia.py index 283668a30..726e72df1 100644 --- a/holidays/countries/slovakia.py +++ b/holidays/countries/slovakia.py @@ -60,7 +60,7 @@ def _populate_public_holidays(self): if self._year >= 1997: # Day of Victory over Fascism. - self._add_holiday_may_8(tr("Deň víťazstva nad fašizmom")) + self._add_world_war_two_victory_day(tr("Deň víťazstva nad fašizmom")) # Saints Cyril and Methodius Day. self._add_holiday_jul_5(tr("Sviatok svätého Cyrila a svätého Metoda")) diff --git a/holidays/countries/ukraine.py b/holidays/countries/ukraine.py index 296aad09e..ff709c6a2 100644 --- a/holidays/countries/ukraine.py +++ b/holidays/countries/ukraine.py @@ -103,9 +103,7 @@ def _populate_common(self, is_martial_law: bool = False): else tr("День перемоги") ) dts_observed.add( - self._add_holiday_may_8(name) - if self._year >= 2024 - else self._add_world_war_two_victory_day(name) + self._add_world_war_two_victory_day(name, is_western=(self._year >= 2024)) ) if self._year >= 1997: diff --git a/holidays/countries/uzbekistan.py b/holidays/countries/uzbekistan.py index 8ee39c096..7fdd9925e 100644 --- a/holidays/countries/uzbekistan.py +++ b/holidays/countries/uzbekistan.py @@ -68,7 +68,8 @@ def _populate_public_holidays(self): tr("Xotira va qadrlash kuni") if self._year >= 1999 # Victory Day. - else tr("G‘alaba kuni") + else tr("G‘alaba kuni"), + is_western=False, ) ) diff --git a/holidays/groups/international.py b/holidays/groups/international.py index 86ee8ee21..87818496d 100644 --- a/holidays/groups/international.py +++ b/holidays/groups/international.py @@ -185,15 +185,18 @@ def _add_womens_day(self, name): """ return self._add_holiday_mar_8(name) - def _add_world_war_two_victory_day(self, name): + def _add_world_war_two_victory_day(self, name, is_western=True): """ - Add Victory Day (May 9th) + Add Day of Victory in World War II in Europe (May 8). + https://en.wikipedia.org/wiki/Victory_in_Europe_Day - Victory Day is a holiday that commemorates the victory over Nazi - Germany in 1945. + Some Eastern European countries celebrate Victory Day on May 9. https://en.wikipedia.org/wiki/Victory_Day_(9_May) """ - return self._add_holiday_may_9(name) + if is_western: + return self._add_holiday_may_8(name) + else: + return self._add_holiday_may_9(name) def _add_united_nations_day(self, name): """