Update United States holidays: add Good Friday, Christmas Eve, New Year's Eve to UNOFFICIAL category#3324
Update United States holidays: add Good Friday, Christmas Eve, New Year's Eve to UNOFFICIAL category#3324PPsyrius wants to merge 5 commits intovacanza:devfrom
UNOFFICIAL category#3324Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
Summary by CodeRabbitRelease Notes
WalkthroughAdds Easter-related and year-end unofficial observances for the United States (Good Friday, Easter Sunday, Christmas Eve, New Year's Eve) and injects corresponding date mappings and composite labels into many snapshot JSON files across years up to 2050. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3324 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 310 310
Lines 18583 18588 +5
Branches 2378 2379 +1
=========================================
+ Hits 18583 18588 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Does this include Easter Sunday as well? |
No, but I can include that as well |
…ar's Eve to `UNOFFICIAL` category
Co-Authored-By: ~Jhellico <KJhellico@users.noreply.github.com>
|
I'm sorry for the forced git push, but that should fix our weird git merge issue earlier |
| self.assertHolidayName("Citizenship Day", "2016-11-04") | ||
| self.assertHolidayName("Election Day", "2016-11-08") | ||
| self.assertHolidayName("Constitution Day", "2016-12-08") | ||
| def test_commonwealth_covenant_day(self): |
There was a problem hiding this comment.
Why duplicate these tests with the US? 🙄
There was a problem hiding this comment.
We did re-test all subdivision-level holidays in French dependencies as well 👀
There was a problem hiding this comment.
Hmm, yes, really. But is it actually worth to do it?
|



Proposed change
UNOFFICIALcategory holidays list.Resolves #3323 .
Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.