Skip to content

Commit

Permalink
Merge pull request #463 from benkhong/master
Browse files Browse the repository at this point in the history
Fix Singapore Public Holidays 2024
  • Loading branch information
commenthol authored Feb 29, 2024
2 parents d7dfdaa + 4dd75ab commit d030f92
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion data/countries/SG.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,15 @@ 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
# 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 Expand Up @@ -132,7 +135,8 @@ holidays:
# @source https://www.mom.gov.sg/newsroom/press-releases/2022/0929-revised-date-for-vesak-day-2023#:~:text=Revised%20Date%20for%20Vesak%20Day%20in%202023&text=1%20Following%20the%20Singapore%20Buddhist,public%20holiday%20for%20Vesak%20Day .
"2023-06-02":
_name: Vesak
"2024-05-23":
# https://www.mom.gov.sg/employment-practices/public-holidays
"2024-05-22":
_name: Vesak
# Deepavali
# date if sunday then next monday
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/SG-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
"_weekday": "Wed"
},
{
"date": "2024-05-23 00:00:00",
"start": "2024-05-22T16:00:00.000Z",
"end": "2024-05-23T16:00:00.000Z",
"date": "2024-05-22 00:00:00",
"start": "2024-05-21T16:00:00.000Z",
"end": "2024-05-22T16:00:00.000Z",
"name": "Vesak Day",
"type": "public",
"rule": "2024-05-23",
"_weekday": "Thu"
"rule": "2024-05-22",
"_weekday": "Wed"
},
{
"date": "2024-06-16 00:00:00 -0600",
Expand Down

0 comments on commit d030f92

Please sign in to comment.