Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public Holidays for Malawi #133

Merged
merged 36 commits into from
Jan 19, 2024

Conversation

Crawford30
Copy link
Contributor

@Crawford30 Crawford30 commented Jan 19, 2024

Contributing a new country ?

  • Have you checked to ensure there aren't other open Pull Requests for the same country?
  1. Create a new class in the Countries directory. It should extend the Country class.
  2. Add a test for the new country in the tests directory.
  3. Run the tests so a snapshot gets created.
  4. Verify the result in the newly created snapshot is correct.

Crawford30 and others added 30 commits January 19, 2024 19:41
This commit adds the `Venezuela` class to handle holidays in Venezuela. The class includes a method to calculate all fixed holidays and another method to calculate variable holidays based on Easter. Additionally, a test is added to ensure that the calculation of Venezuelan holidays is correct.
Avoid PHPStorm insert final newline into snap, failing the test match string.
* Add support for Irish public holidays

* Add logic that St Brigid's only started from 2023

* Add tests for St Brigid's Day

St Brigids Day is a new holiday in 2023 and it is variable so adding tests around the logic

* Apply PSR12 formatting
* adds croatian holidays

* stan fixes

* fixed allHolidays return type
Nielsvanpach and others added 6 commits January 19, 2024 19:41
* feature: add bolivian holidays

* test: add bolivia test

* test snap

* fixed typo and phpstan

* calculate correct easter date

* Fix styling

---------

Co-authored-by: rats4final <[email protected]>
Co-authored-by: rats4final <[email protected]>
* Add Estonian holidays

* Use easter() method for easter date
@Nielsvanpach Nielsvanpach merged commit 5941d7b into spatie:main Jan 19, 2024
8 checks passed
@Nielsvanpach
Copy link
Member

Thanks!

ssmusoke pushed a commit to ssmusoke/holidays that referenced this pull request Jan 20, 2024
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.