Skip to content
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
5 changes: 4 additions & 1 deletion holidays/countries/singapore.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ class SingaporeStaticHolidays:

References:
* <https://www.mom.gov.sg/newsroom/press-releases/2015/sg50-public-holiday-on-7-august-2015>
* <https://www.straitstimes.com/singapore/politics/singapore-presidential-election-2023-polling-day-on-sept-1-nomination-day-on-aug-22>
* <https://www.mom.gov.sg/newsroom/press-releases/2020/0624-public-holiday-on-polling-day---10-july-2020>
* <https://www.mom.gov.sg/newsroom/press-releases/2023/0822-public-holiday-on-polling-day---1-sep-2023>
* <https://www.mom.gov.sg/newsroom/press-releases/2025/0415-public-holiday-on-polling-day_3-may-2025>
"""

# Polling Day.
Expand All @@ -324,6 +326,7 @@ class SingaporeStaticHolidays:
),
2020: (JUL, 10, polling_day_name),
2023: (SEP, 1, polling_day_name),
2025: (MAY, 3, polling_day_name),
}

special_public_holidays_observed = {
Expand Down
1 change: 1 addition & 0 deletions snapshots/countries/SG_COMMON.json
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,7 @@
"2025-03-31": "Eid al-Fitr",
"2025-04-18": "Good Friday",
"2025-05-01": "Labor Day",
"2025-05-03": "Polling Day",
"2025-05-12": "Vesak Day",
"2025-06-07": "Eid al-Adha",
"2025-08-09": "National Day",
Expand Down
12 changes: 11 additions & 1 deletion tests/countries/test_singapore.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def test_2025(self):
("2025-03-31", "Hari Raya Puasa"),
("2025-04-18", "Good Friday"),
("2025-05-01", "Labour Day"),
("2025-05-03", "Polling Day"),
("2025-05-12", "Vesak Day"),
("2025-06-07", "Hari Raya Haji"),
("2025-08-09", "National Day"),
Expand All @@ -197,7 +198,16 @@ def test_non_observed(self):
self.assertNoNonObservedHoliday("2023-01-02")

def test_special_holidays(self):
self.assertHoliday("2015-08-07")
self.assertHoliday(
"2001-11-03",
"2006-05-06",
"2011-05-07",
"2015-08-07",
"2015-09-11",
"2020-07-10",
"2023-09-01",
"2025-05-03",
)

def test_l10n_default(self):
self.assertLocalizedHolidays(
Expand Down