Skip to content

Commit

Permalink
Update HU: add 2025 substituted holidays (#1954)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizsviu committed Aug 28, 2024
1 parent 1aede11 commit c7f95f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions holidays/countries/hungary.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Hungary(HolidayBase, ChristianHolidays, InternationalHolidays, StaticHolid
- `2021 <https://njt.hu/jogszabaly/2020-14-20-7Q>`_
- `2022 <https://njt.hu/jogszabaly/2021-23-20-7Q>`_
- `2024 <https://njt.hu/jogszabaly/2023-15-20-8P>`_
- `2025 <https://njt.hu/jogszabaly/2024-11-20-2X>`_
"""

country = "HU"
Expand Down Expand Up @@ -193,4 +194,9 @@ class HungaryStaticHolidays:
(DEC, 24, DEC, 7),
(DEC, 27, DEC, 14),
),
2025: (
(MAY, 2, MAY, 17),
(OCT, 24, OCT, 18),
(DEC, 24, DEC, 13),
),
}
3 changes: 3 additions & 0 deletions tests/countries/test_hungary.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ def test_substituted(self):
"2024-08-19",
"2024-12-24",
"2024-12-27",
"2025-05-02",
"2025-10-24",
"2025-12-24",
)
self.assertHoliday(dt)

Expand Down

0 comments on commit c7f95f3

Please sign in to comment.