Skip to content

Commit

Permalink
Update South Africa holidays: add public holiday on May 29, 2024 (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
KJhellico authored Apr 2, 2024
1 parent 84ece3d commit 906b911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions holidays/countries/south_africa.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class SouthAfrica(ObservedHolidayBase, ChristianHolidays, InternationalHolidays,
https://www.gov.za/about-sa/public-holidays
https://en.wikipedia.org/wiki/Public_holidays_in_South_Africa
https://www.gov.za/speeches/president-cyril-ramaphosa-progress-economic-recovery-30-oct-2023-0000
https://www.gov.za/documents/notices/public-holidays-act-declaration-29-may-2024-public-holiday-23-feb-2024
"""

country = "ZA"
Expand Down Expand Up @@ -147,6 +148,7 @@ class SouthAfricaStaticHolidays:
2022: (DEC, 27, presidential_decree_holiday),
# Winning the 2023 Rugby World Cup
2023: (DEC, 15, presidential_decree_holiday),
2024: (MAY, 29, national_and_provincial_elections),
}

special_public_holidays_observed = {
Expand Down
1 change: 1 addition & 0 deletions tests/countries/test_south_africa.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def test_special_holidays(self):
"2016-08-03", # Election Day 2016
"2019-05-08", # Election Day 2019
"2021-11-01", # Election Day 2019
"2024-05-29", # Election Day 2024
)

def test_new_years_day(self):
Expand Down

0 comments on commit 906b911

Please sign in to comment.