-
-
Notifications
You must be signed in to change notification settings - Fork 158
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 England, Wales, Scotland, Northern Ireland #166
Conversation
c1b5f07
to
77f7d12
Compare
Hi @c960657 Cheers! Sacha |
I merged the It's fixed now :-) |
Public holidays are defined differently in England, Wales, Northern Ireland and particularly Scotland.
I have tried to implement providers for each of these countries based on Wikipedia (UK and Scotland), official sources (1, 2, 3), newspaper articles (4, 5) and other online sources (6, 7).
The providers for England and Wales are identical to the existing United Kingdom provider, including the unit tests. The provider for Northern Ireland is nearly identical except that it adds to holidays. The provider for Scotland is completely different (it does not call
parent::initialize()
.Northern Ireland did not exist as a country prior to 1921 (neither did the Republic of Ireland), but I haven't added special handling of this. I assume that the territory that is currently Northern Ireland followed the same rules as England and Wales prior to then.
Like the United Kingdom provider, these providers miss translations for substitute holidays. This issue has been addressed in PR #162.