-
Notifications
You must be signed in to change notification settings - Fork 468
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
Update Thailand holidays: extend support year down to 1914 #2166
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2166 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 194 194
Lines 11541 11657 +116
Branches 1641 1691 +50
==========================================
+ Hits 11541 11657 +116 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PPsyrius, it's great! I'm more and more fascinated by the history of your country's holidays. I have to try to make Ukrainian translation :)
Just a few small suggestions...
Co-authored-by: ~Jhellico <KJhellico@users.noreply.github.com>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🇹🇭 LGTM, great work!
I love the attention to detail you guys maintain for the calendars extension!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Proposed change
Extend Thailand holiday support from 1941 to 1914 (The First Public Holidays Act) based on the Royal Gazette (ราชกิจจานุเบกษา) records.
Note
A few key documents are still missing from the internet ever since the Secretariat of the Cabinet (สำนักเลขาธิการคณะรัฐมนตรี) revamped their website and accidentally rendered files older than the last 10 years which isn't included in the Royal Gazette inaccessible, for example:
Once that is fixed, I'll try to get another PR up to get this the final update it needs for any historical date pre-2000.
Another issue is the manual assignment of weekend dates outside of weekdays for Buddhist Sabbath days (วันพระ) which instead relies on the Thai LuniSolar calendar (not that this is required, the whole scheme was thankfully abandoned before the first in-lieu implementation was decreed for Thai holidays in 1961).
Type of change
holidays
functionality in general)Checklist
make check
, all checks and tests are green