Add optional Nova Scotia holidays #135
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are a few changes in this PR
Add optional NS holidays
I was asked to add in 'optional' holidays for NS, which seems to mean the "retail closing days" that are included on the NS website. Seems to be the same thing as optional holidays in other provinces, so let's ship them.
Change "Truth and Reconciliation Day" to "Orange Shirt Day" for Manitoba
Manitoba celebrates this holiday under a different name than the rest of Canada, and has also (since 2024) upgraded the status of this day to a legislated holiday, not an optional one.
Sometimes, when a holiday was on Saturday, it would say the observed date was on the Sunday, but this never happens. It's always on the next Monday. Due to what I am pretty sure was a timezone problem, some dates were being created as the 23:00 of the day before (eg, September 30 would be "12-29T23:00:00"). Since we don't care about the hours particularly, only the day, I figured an easy fix was to just add 1 hour to all dates to account for this weirdness.