Update Taiwan holidays in 2025-2026#3156
Conversation
WalkthroughUpdates Taiwan holiday rules and tests: several holidays (Labor Day, Confucius' Birthday, Taiwan Restoration & Guningtou Memorial Day, Constitution Day) are now collected as observed dates for year thresholds (2025/2026); static-source URLs for 2025/2026 updated; tests adjusted for new substituted-observed dates; Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi @arkid15r @KJhellico @PPsyrius , |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3156 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 306 306
Lines 18249 18249
Branches 2327 2327
=========================================
Hits 18249 18249 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I think it would be more correct to simply add these holidays to |
Signed-off-by: Andrew Li <[email protected]>
Signed-off-by: Andrew Li <[email protected]>
…dated the reference in docstring (vacanza#3155) Signed-off-by: Andrew Li <[email protected]>
db51697 to
c9a9327
Compare
Thanks for your review. I've rebased a new version. |
KJhellico
left a comment
There was a problem hiding this comment.
And I propose to add the same to Labor Day and Constitution Day.
Please refrain from rebasing on the published PR branch in the future. |
Thanks for your review. Already added these holidays. |
717e15c
|
arkid15r
left a comment
There was a problem hiding this comment.
Thank you @orcahmlee
Merging this 👍



Proposed change
Since the Taiwan government issued the revised calendar on 2025-06-17, we have two fewer days off, specifically 2025-09-29 and 2025-10-24, related to #3155 .
REF:
After adding the missing day off, the output would be:
Resolves #3155 .
Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.