azuyalabs / yasumi

The easy PHP Library for calculating holidays
https://www.yasumi.dev
Other
1.04k stars 152 forks source link

Switzerland holidays possible improvements #206

Closed iquito closed 4 years ago

iquito commented 4 years ago

I was trying to use this library for the holidays in Switzerland, but found the following unexpected situations:

I can help in correcting the Swiss holidays (and make a pull request) and could also make a suggestion on how to do a common sense Switzerland class or how to change the existing classes, if such help is welcome. The combination of whole countries in terms of holidays might need some discussion, but I would be willing to help with that too.

stelgenhof commented 4 years ago

@iquito Thank you very much for bringing this up. Definitely this could welcome some updates as not always the latest or correct logic may be implemented.

Please feel free to add PR's to fix the issues you mentioned. If you do, I strongly suggest to create for each case/issue a separate PR. That way it is easier to manage. Don't forget to include unit tests as well!

Cheers! Sacha

github-actions[bot] commented 4 years ago

This issue has been open 60 days with no activity. Please remove the stale label or comment, or this will be closed in 10 days.