Skip to content

fix(ca): improve Canadian provincial holiday rules - #635

Merged
commenthol merged 8 commits into
commenthol:masterfrom
KristjanESPERANTO:ca
Jul 26, 2026
Merged

fix(ca): improve Canadian provincial holiday rules#635
commenthol merged 8 commits into
commenthol:masterfrom
KristjanESPERANTO:ca

Conversation

@KristjanESPERANTO

@KristjanESPERANTO KristjanESPERANTO commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

While comparing opening_hours.js and date-holidays, I noticed a few differences in the Canadian holiday data, so I did some primary-source checking and adjusted the confirmed cases.


I took another pass over the Canada data and checked a few more province-specific rules and sources. That led to a few more follow-up cleanups, mainly to avoid modeling certain holidays too broadly at the national level.

In particular, this now tightens the provincial handling for Thanksgiving, Victoria Day, Boxing Day, the August holiday, and Remembrance Day, removes national Easter Sunday, and keeps the Quebec-specific handling around National Patriots' Day and the Good Friday/Easter Monday choice.

This makes the CA data more precise.

@KristjanESPERANTO KristjanESPERANTO changed the title fix(ca): align provincial holiday overrides fix(ca): improve Canadian provincial holiday rules Jul 13, 2026
@commenthol
commenthol merged commit be04240 into commenthol:master Jul 26, 2026
2 checks passed
@KristjanESPERANTO
KristjanESPERANTO deleted the ca branch July 28, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants