Skip to content

Commit

Permalink
Merge pull request #263 from hbontempo-cw/adds_br_black_consciousness…
Browse files Browse the repository at this point in the history
…_holiday

[br] Adds black consciousness holiday
  • Loading branch information
ppeble authored Jan 1, 2024
2 parents 12abdb6 + 576d555 commit 1508724
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ months:
- name: Proclamação da República
regions: [br]
mday: 15
- name: Dia Nacional de Zumbi e da Consciência Negra
regions: [br]
mday: 20
year_ranges:
from: 2024
12:
- name: Natal
regions: [br]
Expand Down Expand Up @@ -153,6 +158,18 @@ tests:
options: ["informal"]
expect:
name: "Proclamação da República"
- given:
date: '2023-11-20'
regions: ["br"]
options: ["informal"]
expect:
holiday: false
- given:
date: '2024-11-20'
regions: ["br"]
options: ["informal"]
expect:
name: "Dia Nacional de Zumbi e da Consciência Negra"
- given:
date: '2008-12-25'
regions: ["br"]
Expand Down
2 changes: 1 addition & 1 deletion doc/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# How to contribute

In this repository we have all of the definitions that are used in holiday calcuations. We rely on users around the world to help keep our definitions accurate and up to date.
In this repository we have all of the definitions that are used in holiday calculations. We rely on users around the world to help keep our definitions accurate and up to date.

## Code of Conduct

Expand Down

0 comments on commit 1508724

Please sign in to comment.