Skip to content

Commit

Permalink
Merge pull request #195 from nextrequest/us-juneteenth
Browse files Browse the repository at this point in the history
Add Juneteenth to US holidays
  • Loading branch information
ppeble committed Jul 2, 2021
2 parents ab49361 + 5916003 commit 914e4d0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ months:
regions: [us_hi]
observed: to_weekday_if_weekend(date)
mday: 11
- name: Juneteenth National Independence Day
regions: [us]
mday: 19
observed: to_weekday_if_weekend(date)
year_ranges:
from: 2021
- name: Emancipation Day in Texas # fixed
regions: [us_tx]
mday: 19
Expand Down Expand Up @@ -684,6 +690,16 @@ tests:
regions: ["us_hi"]
expect:
name: "King Kamehameha I Day"
- given:
date: ['2021-06-19']
regions: ["us"]
expect:
holiday: false
- given:
date: ['2021-06-18']
regions: ["us"]
expect:
name: "Juneteenth National Independence Day"
- given:
date: ['2017-6-19']
regions: ["us_tx"]
Expand Down

0 comments on commit 914e4d0

Please sign in to comment.