Skip to content

Commit

Permalink
Update KZ holidays: add 2025 special holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
qaziqarta committed Dec 12, 2024
1 parent c13eed0 commit eb06ed2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions holidays/countries/kazakhstan.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class Kazakhstan(
- `2022 <https://adilet.zan.kz/kaz/docs/P2200000796>`_
- `2023 <https://adilet.zan.kz/kaz/docs/P2300000326>`_
- `2024 <https://adilet.zan.kz/kaz/docs/G24G0000109>`_
- `2025 <https://adilet.zan.kz/rus/docs/G24G0000436>`_
"""

country = "KZ"
Expand Down Expand Up @@ -195,6 +196,7 @@ class KazakhstanIslamicHolidays(_CustomIslamicHolidays):
2022: (JUL, 9),
2023: (JUN, 28),
2024: (JUN, 16),
2025: (JUN, 6),
}


Expand Down Expand Up @@ -284,6 +286,7 @@ class KazakhstanStaticHolidays:
),
2023: (JUL, 7, JUL, 1),
2024: (MAY, 8, MAY, 4),
2025: (JAN, 3, JAN, 5),
}

special_public_holidays_observed = {
Expand Down
1 change: 1 addition & 0 deletions snapshots/countries/KZ_COMMON.json
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@
"2024-12-16": "Independence Day",
"2025-01-01": "New Year's Day",
"2025-01-02": "New Year's Day",
"2025-01-03": "Day off (substituted from 01/05/2024)",
"2025-01-07": "Orthodox Christmas",
"2025-03-08": "International Women's Day",
"2025-03-10": "International Women's Day (observed)",
Expand Down
8 changes: 8 additions & 0 deletions tests/countries/test_kazakhstan.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def test_kurban_ait(self):
"2022-07-09",
"2023-06-28",
"2024-06-16",
"2025-06-06",
)

def test_observed(self):
Expand Down Expand Up @@ -175,6 +176,12 @@ def test_observed(self):
"2023-12-18",
"2024-03-25",
"2024-07-08",
"2025-03-10",
"2025-03-24",
"2025-03-25",
"2025-07-07",
"2025-09-01",
"2025-10-27",
)
self.assertHoliday(observed_holidays)
self.assertNoNonObservedHoliday(observed_holidays)
Expand Down Expand Up @@ -232,6 +239,7 @@ def test_substituted_holidays(self):
"2022-10-24",
"2023-07-07",
"2024-05-08",
"2025-01-03",
)

def test2022(self):
Expand Down

0 comments on commit eb06ed2

Please sign in to comment.