-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
add Juneteenth to USFederalHolidayCalendar #42328
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
Conversation
Can you write a test for this. |
pandas/tseries/holiday.py
Outdated
@@ -559,6 +559,7 @@ class USFederalHolidayCalendar(AbstractHolidayCalendar): | |||
USMartinLutherKingJr, | |||
USPresidentsDay, | |||
USMemorialDay, | |||
Holiday("Juneteenth", month=6, day=19, observance=nearest_workday), |
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.
Should probably be "Juneteenth National Independence Day"
https://www.opm.gov/policy-data-oversight/pay-leave/federal-holidays/#url=2021
Hello @ChuliangXiao! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-07-02 15:35:29 UTC |
Thanks @ChuliangXiao, besides the test, can you also please an entry in the release notes? Thanks! |
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
Closing as stale, but if you want to finish this @ChuliangXiao just let me know. |
* add Juneteenth to USFederalHolidayCalendar * Standardize federal holiday names Reference https://www.opm.gov/policy-data-oversight/pay-leave/federal-holidays/#url=2021 * short long code line * ENH: Holidays: add Juneteenth start_date (#42328, #44574) Co-authored-by: Chuliang Xiao <[email protected]> Co-authored-by: Jeff Reback <[email protected]>
Add Juneteenth National Independence Day
Standardize the official federal holiday names