-
Notifications
You must be signed in to change notification settings - Fork 120
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 JE (PH) #424
base: master
Are you sure you want to change the base?
Add JE (PH) #424
Conversation
Added Public Holidays specification for Jersey.
Updated /src/holidays/index.js to include entry pointing to new je.yaml
Given #415:
|
PH that is not every year cannot be expressed here. I don’t want to extend the holiday code and better solve #300 some day. https://github.com/KDE/kholidays supports this which is the current favorite (#300). You would have to drop this from this PR. You can consider submitting to https://github.com/KDE/kholidays to not lose this info if you care.
Search for
Thanks for your effort! |
Thanks for the prompt review. I'll return to this & make refinements next week once all the festive distraction is over. However, for now:
I wasn't aware of this. The documentation (/src/holidays/README.md) is misleading, and should be updated. |
You are welcome.
I am not sure about that. You used PH: # http://www.gov.je/leisure/events/whatson/pages/bankholidaydates.aspx
- {'name': '75th Anniversary of VE Day', '2020': [5, 8]} The allowed keys are documented here: https://github.com/opening-hours/opening_hours.js/tree/master/src/holidays#holiday-definition-format-ph What can be confusing is the difference between PH and SH. They have different formats. Year is only supported for SH. |
@Lee-Carre What's the status of your PR? 🙂 |
Preliminary addition of PH for (the island / Bailiwick of) Jersey. Closes #397.
SH (#398) is proving a bit trickier, so still working on that set. Doing it all on a phone is proving to be somewhat of a challenge.
First PR, so any guidance is appreciated.