Skip to content

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

Closed
wants to merge 3 commits into from

Conversation

ChuliangXiao
Copy link
Contributor

@ChuliangXiao ChuliangXiao commented Jun 30, 2021

@jbrockmendel
Copy link
Member

Can you write a test for this.

@@ -559,6 +559,7 @@ class USFederalHolidayCalendar(AbstractHolidayCalendar):
USMartinLutherKingJr,
USPresidentsDay,
USMemorialDay,
Holiday("Juneteenth", month=6, day=19, observance=nearest_workday),
Copy link
Member

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

@pep8speaks
Copy link

pep8speaks commented Jul 2, 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

@datapythonista datapythonista added the Datetime Datetime data dtype label Jul 7, 2021
@datapythonista
Copy link
Member

Thanks @ChuliangXiao, besides the test, can you also please an entry in the release notes? Thanks!

@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2021

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.

@github-actions github-actions bot added the Stale label Aug 7, 2021
@datapythonista
Copy link
Member

Closing as stale, but if you want to finish this @ChuliangXiao just let me know.

mroeschke pushed a commit that referenced this pull request Nov 29, 2021
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants