Skip to content

Fix: Handle Mountain Day Holiday Correctly in Jp#142

Merged
rickar merged 2 commits intorickar:masterfrom
ryu0114h:bugfix/mountain-day
Dec 5, 2024
Merged

Fix: Handle Mountain Day Holiday Correctly in Jp#142
rickar merged 2 commits intorickar:masterfrom
ryu0114h:bugfix/mountain-day

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
@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