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

easter sunday and pentecost sunday are not nationwide german holidays #100

Merged
merged 4 commits into from
Mar 10, 2018

Conversation

TalonTR
Copy link
Contributor

@TalonTR TalonTR commented Mar 7, 2018

@TalonTR TalonTR changed the title easter sunday and pentecost sunday are not nationwide holidays easter sunday and pentecost sunday are not nationwide german holidays Mar 7, 2018
@stelgenhof stelgenhof self-requested a review March 7, 2018 23:08
@stelgenhof
Copy link
Member

Thanks for the PR!

The source for defining the German Public Holidays was mainly Wikipedia: https://en.wikipedia.org/wiki/Public_holidays_in_Germany. This page list Easter Sunday and Pentecost as celebrated in all states. Comparing it with your source, this one is then incorrect?

Cheers! Sacha

@crossan007
Copy link

I just discovered that Easter does not show up in the 'USA' provider as well.

@stelgenhof
Copy link
Member

@crossan007 It's correct it is not included as currently the USA provider focuses on Federal Holidays only. Of course, non-federal/other holidays can be added as well :)

Cheers! Sacha

@TalonTR
Copy link
Contributor Author

TalonTR commented Mar 8, 2018

The table from your referenced english Wikipedia page doesn't list Pentecost Sunday and Easter Sunday for any German state. Below the table it states:

In addition the state of Brandenburg has formally declared Easter Sunday and Pentecost Sunday as public holidays. As these are Sundays anyway, they have been left away by the other states, nor counted in the table above (the state of Hesse even declared all Sundays public holidays)."

This is exactly the same as within the german Wikipedia.

These dates are celebrated nationwide, but are not considered holidays in most states.

@stelgenhof
Copy link
Member

@TalonTR Perfect! I must have overlooked that.

Copy link
Member

@stelgenhof stelgenhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the unit tests respectively since the logic will change? That way we can verify if the changes work perfectly or not.

@TalonTR
Copy link
Contributor Author

TalonTR commented Mar 8, 2018

Didn't i already do that? All German Easter Sunday and Pentecost Sunday Tests are modified.

Copy link
Member

@stelgenhof stelgenhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. Perfect! Can you only update the CHANGELOG.md file reflecting this fix?

@TalonTR
Copy link
Contributor Author

TalonTR commented Mar 9, 2018

Done :)

@stelgenhof stelgenhof merged commit 9ebc30e into azuyalabs:develop Mar 10, 2018
stelgenhof pushed a commit that referenced this pull request Jan 11, 2019
…#100)

Easter sunday and pentecost sunday are not nationwide holidays - only in Brandenburg
fbett added a commit to fbett/yasumi that referenced this pull request Apr 10, 2024
fbett added a commit to fbett/yasumi that referenced this pull request Apr 10, 2024
fbett added a commit to fbett/yasumi that referenced this pull request Apr 11, 2024
fbett added a commit to fbett/yasumi that referenced this pull request Apr 11, 2024
fbett added a commit to fbett/yasumi that referenced this pull request Apr 11, 2024
stelgenhof pushed a commit that referenced this pull request Jul 6, 2024
…in Brandenburg (#337)

* fix(Provider\Germany): pentecost is not an official holiday - except in Brandenburg (see #100)
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.

3 participants