Skip to content

feat: add Ecuador holiday provider#406

Closed
giovanny07 wants to merge 1 commit into
azuyalabs:developfrom
giovanny07:feat/ecuador-holidays
Closed

feat: add Ecuador holiday provider#406
giovanny07 wants to merge 1 commit into
azuyalabs:developfrom
giovanny07:feat/ecuador-holidays

Conversation

@giovanny07

@giovanny07 giovanny07 commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Add Ecuador (EC) holiday provider with 11 national holidays established
by Article 65 of the Código del Trabajo and the Ley Orgánica Reformatoria
a la LOSEP y al Código del Trabajo (R.O. Suplemento No. 906, Dec 2016).

Fixed holidays (never transferred):

  • New Year's Day (1 Jan)
  • Carnival Monday and Carnival Tuesday (Easter − 48/47 days)
  • Good Friday (Easter-relative)
  • Christmas Day (25 Dec)

Transferable holidays (Reforma 2016 rule):
Tue → Mon; Wed/Thu/Sat → Fri; Sun → Mon; Mon/Fri unchanged:

  • International Workers' Day (1 May)
  • Battle of Pichincha (24 May, since 1822)
  • First Cry of Independence (10 Aug, since 1809)
  • Independence of Guayaquil (9 Oct, since 1820)
  • Day of the Dead (2 Nov)
  • Independence of Cuenca (3 Nov, since 1820)

Includes 13 test files with testTransferRule() coverage for all
transferable holidays and year-guard tests for historical holidays.

Improved the contribution guidelines as it was missing a few essential
pointers:

  - Added guidance on Conventional Commits.
  - Added DCO sign-off requirement with example command.
  - Added branching strategy (branch off develop, target develop).
  - Added a "Before Submitting" section with the full composer cs /
    composer phpstan / composer test checklist.

Additionnally corrected the PHPUnit version mentioned in the AGENTS.md
file. Furthermore, updated/corrected the list of supported versions in
SECURITY.md and replaced the public issue link for vulnerability reporting
with GitHub's private security advisory URL to prevent disclosing
unpatched vulnerabilities publicly.

Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
Signed-off-by: Giovanny Rodriguez <giovanny.rodriguez@imagunet.com>
@giovanny07 giovanny07 changed the title docs: improve contribution guidelines feat: add Ecuador holiday provider Mar 13, 2026
@stelgenhof

Copy link
Copy Markdown
Member

@giovanny07 Your commit in this PR looks a bit odd, as it contains changes (squashed?) from commit 398caf6. I recommend to rebase and have your branch only contain changes related to the new Ecuador provider.

@giovanny07 giovanny07 closed this Mar 16, 2026
@giovanny07 giovanny07 deleted the feat/ecuador-holidays branch March 16, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants