Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Argentina holidays: Add 2025 Bridge Public Holidays #2146

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion holidays/countries/argentina.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,31 @@ class Argentina(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
- Based on:
https://es.wikipedia.org/wiki/Anexo:D%C3%ADas_feriados_en_Argentina
- [Ley 24455] Belgrano and San Martin Day as third Monday
https://servicios.infoleg.gob.ar/infolegInternet/anexos/0-4999/782/norma.htm
- [Ley 27399] - For 2018++
https://www.argentina.gob.ar/normativa/nacional/ley-27399-281835/texto
- [Decreto 1585/2010] - 2011-2013 Bridge Holidays, Movable Holidays Law
https://www.argentina.gob.ar/normativa/nacional/decreto-1585-2010-174391/texto
- [Decreto 1768/2013] - 2014-2016 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-1768-2013-222021/texto
- [Decretos 52-80-923/2017] - 2017-2019 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-52-2017-271094/texto
https://www.argentina.gob.ar/normativa/nacional/decreto-80-2017-271382/texto
https://www.argentina.gob.ar/normativa/nacional/decreto-923-2017-287145
- [Decreto 717/2019] - 2020 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-717-2019-330204/texto
- [Decreto 297/2020] - Veteran Day moved due to Covid-19
https://www.argentina.gob.ar/normativa/nacional/decreto-297-2020-335741/texto
- [Decreto 947/2020] - 2021 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-947-2020-344620/texto
- [Decreto 789/2021] - 2022 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-789-2021-356678/texto
- [Decreto 764/2022] - 2023 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-764-2022-375264/texto
- [Decreto 106/2023] - 2024 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-106-2023-395689/texto
- [Decreto 1017/2024] - 2025 Bridge Holidays
https://www.argentina.gob.ar/normativa/nacional/decreto-1027-2024-406417/texto
- [Always Update Calendar Year Link]
https://www.argentina.gob.ar/interior/feriados
http://servicios.lanacion.com.ar/feriados
Expand All @@ -60,7 +75,8 @@ class Argentina(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
https://servicios.lanacion.com.ar/app-mobile/feriados/2016
https://servicios.lanacion.com.ar/app-mobile/feriados/2015

Movable Holidays Laws:
Movable Holidays Laws:

- Decreto 1584/2010: 2010-11-03
- AUG 17, OCT 12, NOV 20 Holidays will always be on MON
- Decreto 52/2017: 2017-01-23 (Reconfirmed in Ley 27399)
Expand Down Expand Up @@ -345,4 +361,9 @@ class ArgentinaStaticHolidays:
(JUN, 21, arg_bridge_public_holiday),
(OCT, 11, arg_bridge_public_holiday),
),
2025: (
(MAY, 2, arg_bridge_public_holiday),
(AUG, 15, arg_bridge_public_holiday),
(NOV, 21, arg_bridge_public_holiday),
),
}
3 changes: 3 additions & 0 deletions snapshots/countries/AR_COMMON.json
Original file line number Diff line number Diff line change
Expand Up @@ -952,12 +952,15 @@
"2025-04-02": "Veterans Day and the Fallen in the Malvinas War",
"2025-04-18": "Good Friday",
"2025-05-01": "Labor Day",
"2025-05-02": "Bridge Public Holiday",
"2025-05-25": "May Revolution Day",
"2025-06-16": "Pass to the Immortality of General Don Mart\u00edn Miguel de G\u00fcemes (observed)",
"2025-06-20": "Pass to the Immortality of General Don Manuel Belgrano",
"2025-07-09": "Independence Day",
"2025-08-15": "Bridge Public Holiday",
"2025-08-17": "Pass to the Immortality of General Don Jos\u00e9 de San Martin",
"2025-10-12": "Respect for Cultural Diversity Day",
"2025-11-21": "Bridge Public Holiday",
"2025-11-24": "National Sovereignty Day (observed)",
"2025-12-08": "Immaculate Conception",
"2025-12-25": "Christmas Day",
Expand Down
46 changes: 46 additions & 0 deletions tests/countries/test_argentina.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,52 @@ def setUpClass(cls):
def test_country_aliases(self):
self.assertAliases(Argentina, AR, ARG)

def test_special_holidays(self):
dt = (
"2011-03-25",
"2011-12-09",
"2012-02-27",
"2012-04-30",
"2012-09-24",
"2012-12-24",
"2013-01-31",
"2013-02-20",
"2013-04-01",
"2013-06-21",
"2014-05-02",
"2014-12-26",
"2015-03-23",
"2015-12-07",
"2016-07-08",
"2016-12-09",
"2018-04-30",
"2018-12-24",
"2018-12-31",
"2019-07-08",
"2019-08-19",
"2019-10-14",
"2020-03-23",
"2020-07-10",
"2020-12-07",
"2021-05-24",
"2021-10-08",
"2021-11-22",
"2022-05-18",
"2022-10-07",
"2022-11-21",
"2022-12-09",
"2023-05-26",
"2023-06-19",
"2023-10-13",
"2024-04-01",
"2024-06-21",
"2024-10-11",
"2025-05-02",
"2025-08-15",
"2025-11-21",
)
self.assertHoliday(dt)

def test_new_years_day(self):
self.assertHoliday(f"{year}-01-01" for year in range(1950, 2050))

Expand Down