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

Fix: Handle Mountain Day Holiday Correctly in Jp #142

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

ryu0114h
Copy link
Contributor

@ryu0114h ryu0114h commented Dec 2, 2024

This pull request addresses the correct handling of the Mountain Day holiday in the calendar library. Based on the information provided on the Japanese government's website (https://www8.cao.go.jp/chosei/shukujitsu/gaiyou.html), the changes are as follows:

The Func field has been updated to handle the special cases:

In 2020, Mountain Day was observed on August 10.
In 2021 and onwards, Mountain Day is observed on August 8.

For all other years, Mountain Day is observed on the standard date of August 11.

These changes ensure that the calendar library accurately reflects the changes to the Mountain Day holiday over the years, as per the Japanese national holiday law.

@rickar rickar merged commit 8a7a3c4 into rickar:master Dec 5, 2024
2 checks passed
@rickar
Copy link
Owner

rickar commented Dec 5, 2024

Thank you!

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.

2 participants