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

Fix: Canada Victoria Day correction in test and calculation #211

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

mercury64
Copy link

Corrected the Victoria Day date for 2024 to be May 20th in test snapshot, not May 27th.

Corrected the code in src/Countries/Canada.php to calculate the correct date for Victoria Day.

Canada Victoria Day is always the first Monday in May preceding May 25th(and not including).
The Monday will always be between May 18th and May 24th.

@Nielsvanpach
Copy link
Member

Thanks!

@Nielsvanpach Nielsvanpach merged commit 210d4a5 into spatie:main Mar 8, 2024
14 checks passed
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.

3 participants