Open dataset lists Sri Lankan public holidays and Poya days for 2026 and 2027
A developer has published a free, machine-readable dataset of Sri Lankan public holidays and Poya days for 2026 and 2027, built from the Central Bank of Sri Lanka's bank-holiday lists. The list is needed because Poya days follow the lunar calendar and other holidays shift with religious calendars, so they cannot be computed directly. Each entry records the date, weekday, name, and flags for Poya days, mercantile holidays, bank holidays, and public holidays, and the data is available as JSON, CSV, and calendar (.ics) files. The article also explains two common date-handling pitfalls: counting rows rather than unique dates when holidays coincide, and using UTC instead of Sri Lanka's UTC+5:30 time zone, which can misidentify the current day.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in