-
Notifications
You must be signed in to change notification settings - Fork 473
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 in 2025 #2081
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #2081 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 191 191
Lines 11547 11539 -8
Branches 1744 1740 -4
=========================================
- Hits 11547 11539 -8 ☔ View full report in Codecov by Sentry. |
In L614: Thailand(categories=GOVERNMENT, years=range(1960, 2024)), everything works correctly (due to auto-expand), but for accuracy:
Or maybe better to refactor this test with |
@KJhellico I ended up refactoring all Thailand test cases to modern standards, so additional reviews will be needed here. |
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.
I think I've diligently reviewed the tests 😉, and here are some suggestions:
Co-authored-by: ~Jhellico <KJhellico@users.noreply.github.com>
Co-Authored-By: ~Jhellico <KJhellico@users.noreply.github.com>
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! 👍
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
Co-authored-by: ~Jhellico <KJhellico@users.noreply.github.com>
Proposed change
Update Thailand holidays in 2025, as well as refractoring Thailand testcases to modern standards.
SUN-MON-TUE
format for "Songkran" holidays do indeed has in-lieu observance onWED
as seen in 2014 and 2025, and has been fixed accordingly.Type of change
holidays
functionality in general)Checklist
make pre-commit
, it didn't generate any changesmake test
, all tests passed locally