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 KZ holidays: add 2025 special holidays #2167

Merged
merged 4 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
6 changes: 6 additions & 0 deletions holidays/countries/kazakhstan.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ 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>`_
qaziqarta marked this conversation as resolved.
Show resolved Hide resolved

Islamic holidays:
- 2025: `<https://en.inform.kz/news/first-day-of-ramadan-to-fall-on-march-1-2025-ca393f/>`_
"""

country = "KZ"
Expand Down Expand Up @@ -195,6 +199,7 @@ class KazakhstanIslamicHolidays(_CustomIslamicHolidays):
2022: (JUL, 9),
2023: (JUN, 28),
2024: (JUN, 16),
2025: (JUN, 6),
qaziqarta marked this conversation as resolved.
Show resolved Hide resolved
}


Expand Down Expand Up @@ -284,6 +289,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
Loading