0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/plugins/discourse-calendar/vendor/holidays/definitions
Alan Guo Xiang Tan e684acec6b
DEV: Add 2026 Singapore holidays (#40318)
The Singapore (`sg`) holiday definitions in the vendored `holidays` gem
only included 2025 entries for lunar and Islamic calendar holidays, so
dates like Hari Raya Haji (May 27) and Vesak Day (observed June 1) did
not resolve for 2026.

This commit refreshes the `sg` definitions with 2026 dates for Chinese
New Year, Hari Raya Puasa, Good Friday, Vesak Day, Hari Raya Haji, and
Deepavali based on the [Ministry of Manpower's published
list](https://www.mom.gov.sg/employment-practices/public-holidays), and
drops the 2025-only Polling Day entry. Vesak Day (May 31) and Deepavali
(Nov 8) fall on a Sunday in 2026, so both carry `to_weekday_if_weekend`
so the gem returns the in-lieu Monday.
2026-05-27 06:59:10 +08:00
..
doc
lib/validation
spec
ae.yaml
ar.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
at.yaml
au.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
be_fr.yaml
be_nl.yaml
bg.yaml
br.yaml
ca.yaml
ch.yaml
CHANGELOG.md
cl.yaml
co.yaml
cr.yaml
cz.yaml
de.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
dk.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
ecbtarget.yaml
ee.yaml
es.yaml
federalreserve.yaml
federalreservebanks.yaml
fedex.yaml
fi.yaml
fr.yaml
gb.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
ge.yaml
Gemfile
gh.yaml DEV: Add 2026 Eid-ul-Fitr holidays for Ghana (#38742) 2026-03-20 10:36:54 +00:00
gr.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
hk.yaml
hr.yaml
hu.yaml
id.yaml
ie.yaml
in.yaml DEV: add 2026 India holidays (#37059) 2026-01-13 14:08:31 +05:30
index.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
is.yaml
it.yaml
jp.yaml
ke.yaml
kr.yaml
kz.yaml
li.yaml
LICENSE
lt.yaml
lu.yaml
lv.yaml
ma.yaml
Makefile
METHODS.yml
mt_en.yaml
mt_mt.yaml
mx.yaml
my.yaml
nerc.yaml
ng.yaml
nl.yaml
no.yaml
northamericainformal.yaml
nyse.yaml
nz.yaml CHORE: Import holiday definition updates. (#34835) 2025-09-17 16:07:06 +10:00
pe.yaml
ph.yaml
pl.yaml DEV: Update the PL holiday definition (#35998) 2025-11-12 20:00:41 +01:00
pt.yaml
README.md
ro.yaml
rs_cyrl.yaml
rs_la.yaml
ru.yaml
sa.yaml DEV: Add upcoming Saudi holidays (Eid Al Fitr) (#38424) 2026-03-10 18:18:01 +03:00
se.yaml
sg.yaml DEV: Add 2026 Singapore holidays (#40318) 2026-05-27 06:59:10 +08:00
si.yaml
sk.yaml
th.yaml
tn.yaml
tr.yaml
ua.yaml
unitednations.yaml
ups.yaml
us.yaml FEATURE: Update US Holidays for 2026 (#37553) 2026-02-05 00:04:13 -05:00
ve.yaml
vi.yaml
za.yaml
zw.yaml

Holidays Definitions Build Status

This repository contains the 'raw' definitions for the various holidays projects. It should be added a submodule to any project that wants to use them.

Currently it is only used by the existing Holidays gem, which takes these definitions and generates ruby classes for use in that gem. In the future it will be used by other languages in a similar manner.

Please note that this is not a gem. The validation process is written in ruby simply for convenience. The real stars of this show are the YAML files.

Documentation

  1. Syntax Guide
  2. Contribution Guidelines
  3. Maintainer Guidelines
  4. Architecture Decision Records

Credits

Thank you to all of these wonderful contributors!