Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Juneteenth for UT #290

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

erluti
Copy link

@erluti erluti commented Sep 12, 2024

(i) The Juneteenth National Freedom Day holiday is on June 19, if that day is on a Monday.
(ii) If June 19 is on a Tuesday, Wednesday, Thursday, or Friday, the Juneteenth National
Freedom Day holiday is on the immediately preceding Monday.
(iii) If June 19 is on a Saturday or Sunday, the Juneteenth National Freedom Day holiday is on
the immediately following Monday.

https://le.utah.gov/xcode/Title63G/Chapter1/C63G-1-P3_1800010118000101.pdf

@erluti
Copy link
Author

erluti commented Sep 12, 2024

WIP... seems to be an issue with region being passed as an argument holidays/holidays#433

@erluti
Copy link
Author

erluti commented Sep 13, 2024

My first attempt was to add "Juneteenth National Freedom Day" as a separate holiday, but then tests failed if it fell on the same day as "Juneteenth National Independence Day". So I thought that making the observed day "smart" would be the best way to go.

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.

1 participant