Skip to content

Commit

Permalink
Merge pull request #489 from tiagoornelas/br/black-awareness-day
Browse files Browse the repository at this point in the history
BR/Black Awareness Day as National Holiday
  • Loading branch information
commenthol authored Dec 27, 2024
2 parents 4373615 + 3ee04a9 commit 48f5b1a
Show file tree
Hide file tree
Showing 117 changed files with 874 additions and 180 deletions.
10 changes: 10 additions & 0 deletions data/countries/BR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ holidays:
name:
pt: Proclamação da República
en: Republic Day
11-20:
name:
pt: Dia da Consciência Negra
en: Black Awareness Day
active:
- from: 2023-12-21
"12-24 14:00":
_name: 12-24
type: optional
Expand Down Expand Up @@ -156,6 +162,7 @@ holidays:
pt: Dia da Consciência Negra
active:
- from: 2010-07-08
to: 2023-12-21
AP:
name: Amapá
zones:
Expand Down Expand Up @@ -260,6 +267,7 @@ holidays:
pt: Dia da Consciência Negra
active:
- from: 2002-12-27
to: 2023-12-21
PA:
name: Pará
zones:
Expand Down Expand Up @@ -365,6 +373,7 @@ holidays:
pt: Dia da Consciência Negra
active:
- from: 2002-11-11
to: 2023-12-21
regions:
RJ:
name: Rio de Janeiro
Expand Down Expand Up @@ -467,6 +476,7 @@ holidays:
pt: Dia da Consciência Negra
active:
- from: 2023-09-12
to: 2023-12-21
regions:
SP:
name: São Paulo
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@
"rule": "11-15",
"_weekday": "Fri"
},
{
"date": "2024-11-20 00:00:00",
"start": "2024-11-20T03:00:00.000Z",
"end": "2024-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Wed"
},
{
"date": "2024-12-24 14:00:00",
"start": "2024-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,15 @@
"rule": "11-15",
"_weekday": "Sat"
},
{
"date": "2025-11-20 00:00:00",
"start": "2025-11-20T03:00:00.000Z",
"end": "2025-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Thu"
},
{
"date": "2025-12-24 14:00:00",
"start": "2025-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@
"rule": "11-15",
"_weekday": "Sun"
},
{
"date": "2026-11-20 00:00:00",
"start": "2026-11-20T03:00:00.000Z",
"end": "2026-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Fri"
},
{
"date": "2026-12-24 14:00:00",
"start": "2026-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,15 @@
"rule": "11-15",
"_weekday": "Mon"
},
{
"date": "2027-11-20 00:00:00",
"start": "2027-11-20T03:00:00.000Z",
"end": "2027-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Sat"
},
{
"date": "2027-12-24 14:00:00",
"start": "2027-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AC-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,15 @@
"rule": "11-17",
"_weekday": "Sun"
},
{
"date": "2024-11-20 00:00:00",
"start": "2024-11-20T05:00:00.000Z",
"end": "2024-11-21T05:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Wed"
},
{
"date": "2024-12-24 14:00:00",
"start": "2024-12-24T19:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AC-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@
"rule": "11-17",
"_weekday": "Mon"
},
{
"date": "2025-11-20 00:00:00",
"start": "2025-11-20T05:00:00.000Z",
"end": "2025-11-21T05:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Thu"
},
{
"date": "2025-12-24 14:00:00",
"start": "2025-12-24T19:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AC-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,15 @@
"rule": "11-17",
"_weekday": "Tue"
},
{
"date": "2026-11-20 00:00:00",
"start": "2026-11-20T05:00:00.000Z",
"end": "2026-11-21T05:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Fri"
},
{
"date": "2026-12-24 14:00:00",
"start": "2026-12-24T19:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AC-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@
"rule": "11-17",
"_weekday": "Wed"
},
{
"date": "2027-11-20 00:00:00",
"start": "2027-11-20T05:00:00.000Z",
"end": "2027-11-21T05:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Sat"
},
{
"date": "2027-12-24 14:00:00",
"start": "2027-12-24T19:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/BR-AM-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@
"rule": "11-15",
"_weekday": "Fri"
},
{
"date": "2024-11-20 00:00:00",
"start": "2024-11-20T04:00:00.000Z",
"end": "2024-11-21T04:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Wed"
},
{
"date": "2024-12-24 14:00:00",
"start": "2024-12-24T18:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/BR-AM-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,6 @@
"rule": "11-15",
"_weekday": "Sat"
},
{
"date": "2025-11-20 00:00:00",
"start": "2025-11-20T04:00:00.000Z",
"end": "2025-11-21T04:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Thu"
},
{
"date": "2025-12-24 14:00:00",
"start": "2025-12-24T18:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/BR-AM-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@
"rule": "11-15",
"_weekday": "Sun"
},
{
"date": "2026-11-20 00:00:00",
"start": "2026-11-20T04:00:00.000Z",
"end": "2026-11-21T04:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Fri"
},
{
"date": "2026-12-24 14:00:00",
"start": "2026-12-24T18:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/BR-AM-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,6 @@
"rule": "11-15",
"_weekday": "Mon"
},
{
"date": "2027-11-20 00:00:00",
"start": "2027-11-20T04:00:00.000Z",
"end": "2027-11-21T04:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Sat"
},
{
"date": "2027-12-24 14:00:00",
"start": "2027-12-24T18:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AP-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@
"rule": "11-15",
"_weekday": "Fri"
},
{
"date": "2024-11-20 00:00:00",
"start": "2024-11-20T03:00:00.000Z",
"end": "2024-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Wed"
},
{
"date": "2024-12-24 14:00:00",
"start": "2024-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AP-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,15 @@
"rule": "11-15",
"_weekday": "Sat"
},
{
"date": "2025-11-20 00:00:00",
"start": "2025-11-20T03:00:00.000Z",
"end": "2025-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Thu"
},
{
"date": "2025-12-24 14:00:00",
"start": "2025-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AP-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@
"rule": "11-15",
"_weekday": "Sun"
},
{
"date": "2026-11-20 00:00:00",
"start": "2026-11-20T03:00:00.000Z",
"end": "2026-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Fri"
},
{
"date": "2026-12-24 14:00:00",
"start": "2026-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-AP-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,15 @@
"rule": "11-15",
"_weekday": "Mon"
},
{
"date": "2027-11-20 00:00:00",
"start": "2027-11-20T03:00:00.000Z",
"end": "2027-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Sat"
},
{
"date": "2027-12-24 14:00:00",
"start": "2027-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-BA-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@
"rule": "11-15",
"_weekday": "Fri"
},
{
"date": "2024-11-20 00:00:00",
"start": "2024-11-20T03:00:00.000Z",
"end": "2024-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Wed"
},
{
"date": "2024-12-24 14:00:00",
"start": "2024-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-BA-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@
"rule": "11-15",
"_weekday": "Sat"
},
{
"date": "2025-11-20 00:00:00",
"start": "2025-11-20T03:00:00.000Z",
"end": "2025-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Thu"
},
{
"date": "2025-12-24 14:00:00",
"start": "2025-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-BA-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@
"rule": "11-15",
"_weekday": "Sun"
},
{
"date": "2026-11-20 00:00:00",
"start": "2026-11-20T03:00:00.000Z",
"end": "2026-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Fri"
},
{
"date": "2026-12-24 14:00:00",
"start": "2026-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-BA-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@
"rule": "11-15",
"_weekday": "Mon"
},
{
"date": "2027-11-20 00:00:00",
"start": "2027-11-20T03:00:00.000Z",
"end": "2027-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Sat"
},
{
"date": "2027-12-24 14:00:00",
"start": "2027-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-CE-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@
"rule": "11-15",
"_weekday": "Fri"
},
{
"date": "2024-11-20 00:00:00",
"start": "2024-11-20T03:00:00.000Z",
"end": "2024-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Wed"
},
{
"date": "2024-12-24 14:00:00",
"start": "2024-12-24T17:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/BR-CE-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@
"rule": "11-15",
"_weekday": "Sat"
},
{
"date": "2025-11-20 00:00:00",
"start": "2025-11-20T03:00:00.000Z",
"end": "2025-11-21T03:00:00.000Z",
"name": "Dia da Consciência Negra",
"type": "public",
"rule": "11-20",
"_weekday": "Thu"
},
{
"date": "2025-12-24 14:00:00",
"start": "2025-12-24T17:00:00.000Z",
Expand Down
Loading

0 comments on commit 48f5b1a

Please sign in to comment.