mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 17:53:55 +08:00
76 lines
1.7 KiB
YAML
Vendored
76 lines
1.7 KiB
YAML
Vendored
# Singapore holiday definitions for the Holidays gem!
|
|
|
|
# Days not included in the definitions (yet):
|
|
# Vesak Day (falls on the first full moon in May)
|
|
# Lunar New Year (falls on the first day of the Lunar Calendar)
|
|
# Hari Raya Puasa and Hari Raya Haji (based on moon sightings, Islamic Calendar)
|
|
# Deepavali (15th Day of September or October, based on the Hindu Calendar)
|
|
|
|
# Source:
|
|
# http://publicholidays.sg/
|
|
# https://www.mom.gov.sg/employment-practices/public-holidays
|
|
|
|
months:
|
|
1:
|
|
- name: New Year's Day
|
|
regions: [sg]
|
|
mday: 1
|
|
observed: to_weekday_if_weekend(date)
|
|
2:
|
|
- name: First day of Chinese New Year
|
|
regions: [sg]
|
|
mday: 17
|
|
observed: to_weekday_if_weekend(date)
|
|
year_ranges:
|
|
limited: [2026]
|
|
- name: Second day of Chinese New Year
|
|
regions: [sg]
|
|
mday: 18
|
|
observed: to_weekday_if_weekend(date)
|
|
year_ranges:
|
|
limited: [2026]
|
|
3:
|
|
- name: Hari Raya Puasa
|
|
regions: [sg]
|
|
mday: 21
|
|
year_ranges:
|
|
limited: [2026]
|
|
4:
|
|
- name: Good Friday
|
|
regions: [sg]
|
|
mday: 3
|
|
year_ranges:
|
|
limited: [2026]
|
|
5:
|
|
- name: Labour Day
|
|
regions: [sg]
|
|
mday: 1
|
|
observed: to_weekday_if_weekend(date)
|
|
- name: Hari Raya Haji
|
|
regions: [sg]
|
|
mday: 27
|
|
year_ranges:
|
|
limited: [2026]
|
|
- name: Vesak Day
|
|
regions: [sg]
|
|
mday: 31
|
|
observed: to_weekday_if_weekend(date)
|
|
year_ranges:
|
|
limited: [2026]
|
|
8:
|
|
- name: National Day
|
|
regions: [sg]
|
|
mday: 9
|
|
observed: to_weekday_if_weekend(date)
|
|
11:
|
|
- name: Deepavali
|
|
regions: [sg]
|
|
mday: 8
|
|
observed: to_weekday_if_weekend(date)
|
|
year_ranges:
|
|
limited: [2026]
|
|
12:
|
|
- name: Christmas Day
|
|
regions: [sg]
|
|
mday: 25
|
|
observed: to_weekday_if_weekend(date)
|