Skip to content
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

Check all USA holidays for substitutions #140

Merged

Conversation

jagers
Copy link
Contributor

@jagers jagers commented Mar 6, 2019

For USA holidays, per Section 3(a) of Executive Order 11582 of Feb. 11, 1971 and 5 U.S.C. 6103(b), any holiday that falls on a Sunday is moved to Monday and any holiday that falls on a Saturday is moved to Sunday.

This PR changes the USA Provider to check all holidays for potential substitute holidays, not just New Year's Day, Independence Day, and Christmas Day

This addresses issue #91 regarding Veteran's Day that typically falls on November 11, but in 2018 it was observed on 2018-11-12

@stelgenhof
Copy link
Member

Thanks @jagers ! I'll have a look tomorrow and merge this.

@stelgenhof stelgenhof self-requested a review March 6, 2019 23:31
@stelgenhof stelgenhof merged commit 575b95d into azuyalabs:develop Mar 6, 2019
@stelgenhof stelgenhof added this to the v2.1.0 milestone Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants