feat(BR): add bank holidays for Carnival and Corpus Christi#624
Merged
commenthol merged 1 commit intoJun 21, 2026
Merged
Conversation
Per Resolução CMN nº 4.880 (art. 6), banks do not operate on Carnival Monday/Tuesday and Corpus Christi, although these are not national public holidays. Classify them as `type: bank`. - Carnival Monday/Tuesday (easter -48, easter -47): type bank, kept as two separate rules so RJ's state-level public holiday on Carnival Tuesday still overrides via type priority. - Carnival Saturday/Sunday (easter -50 PT48H): kept as optional (celebration); replaces the previous single multi-day easter -50 PT110H entry. - Ash Wednesday (easter -46 PT14H): kept as optional until 14:00 (half-day); not a bank holiday, banks open reduced hours (art. 2). - Corpus Christi (easter 60): reclassified optional -> bank (still public in SP city). Source: Resolução CMN nº 4.880, de 23/12/2020 https://www.bcb.gov.br/estabilidadefinanceira/exibenormativo?tipo=Resolução%20CMN&numero=4880
aa6999d to
e3c6fd8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Brazilian bank holidays for Carnival and Corpus Christi, following the Central Bank of Brazil's Resolução CMN nº 4.880 (art. 6), which lists Carnival Monday/Tuesday and Corpus Christi as non-business days for banks even though they are not national public holidays.
Changes (
data/countries/BR.yaml)easter -48,easter -47) →type: bank.easter 60) → reclassifiedoptional→bank.easter -50 PT48H) → kept asoptional(cultural celebration); this replaces the previous single multi-dayeaster -50 PT110Hentry.easter -46 PT14H) → kept asoptionaluntil 14:00 (half-day custom), preserving the original behavior. It is a reduced-hours working day (art. 2), not a closure, so it is not abankholiday.Notes
public, Monday tobank.publicCorpus Christi likewise still overrides the nationalbankentry.Source
Resolução CMN nº 4.880, de 23/12/2020 — art. 6
https://www.bcb.gov.br/estabilidadefinanceira/exibenormativo?tipo=Resolu%C3%A7%C3%A3o%20CMN&numero=4880
Testing
npm run yaml) and fixtures (mocha test/all.mocha.js --writetests --countries BR).npm test): 5346 passing.BR*fixtures changed; no other countries affected.