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

Singapore Public Holidays Update - Hari Raya Puasa and Hari Raya Haji #457

Closed
wants to merge 2 commits into from
Closed
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
4 changes: 4 additions & 0 deletions data/countries/SG.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,16 @@ holidays:
en: Hari Raya Haji
# Revision from SG gov
# @source https://www.humanresourcesonline.net/singapore-s-revised-public-holiday-list-for-2022-new-dates-for-hari-raya-puasa-and-haji
# @source https://www.humanresourcesonline.net/singapore-s-revised-public-holiday-list-for-2022-new-dates-for-hari-raya-puasa-and-haji
# https://www.mom.gov.sg/employment-practices/public-holidays
disable:
- "2022-07-09"
- "2023-06-28"
- "2024-06-29"
enable:
- "2022-07-10"
- "2023-06-29"
- "2024-06-17"
# @attrib https://en.wikipedia.org/wiki/Vesak
# date if sunday then next monday
"2001-05-07":
Expand Down
14 changes: 7 additions & 7 deletions test/fixtures/SG-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"_weekday": "Fri"
},
{
"date": "2024-04-10 00:00:00 -0600",
"start": "2024-04-09T10:00:00.000Z",
"end": "2024-04-10T10:00:00.000Z",
"date": "2024-04-10 00:00:00",
"start": "2024-04-09T16:00:00.000Z",
"end": "2024-04-10T16:00:00.000Z",
"name": "Hari Raya Puasa",
"type": "public",
"rule": "1 Shawwal",
Expand All @@ -73,13 +73,13 @@
"_weekday": "Thu"
},
{
"date": "2024-06-16 00:00:00 -0600",
"start": "2024-06-15T10:00:00.000Z",
"end": "2024-06-16T10:00:00.000Z",
"date": "2024-06-17 00:00:00",
"start": "2024-06-16T16:00:00.000Z",
"end": "2024-06-17T16:00:00.000Z",
"name": "Hari Raya Haji",
"type": "public",
"rule": "10 Dhu al-Hijjah",
"_weekday": "Sun"
"_weekday": "Mon"
},
{
"date": "2024-08-09 00:00:00",
Expand Down
Loading