-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Switzerland - Holiday adjustments #683
Comments
@ugobe, @SuizoSuizo, @bsrdwild, @klamir051, @Iuri-Dias Hello everyone, as I would like to make some changes to the Swiss holidays. I would be pleased if you could perhaps also have a look at this.
|
“Näfelser Fahrt” is currently being ignored |
Hey tino. Noch nie davon gehört 🤔
Gesendet von Proton Mail für Android
…-------- Ursprüngliche Nachricht --------
Am 25.09.24 16:53 um Tino Hager schrieb :
***@***.***(https://github.com/ugobe), ***@***.***(https://github.com/SuizoSuizo), ***@***.***(https://github.com/bsrdwild), ***@***.***(https://github.com/klamir051), ***@***.***(https://github.com/Iuri-Dias)
Hello everyone, as I would like to make some changes to the Swiss holidays. I would be pleased if you could perhaps also have a look at this.
> In Switzerland, there is a law that allows for a maximum of eight public holidays per year to be treated the same as Sundays. These holidays are determined at the cantonal level, with each canton deciding which holidays qualify.
—
Reply to this email directly, [view it on GitHub](#683 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BH2EJUG7RG7INJO4RIFK2GDZYLE6DAVCNFSM6AAAAABOWCNTMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUGMZDSNZYGY).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi Tino I've never heard of some of this rules, especially the limit of eight public holiydas. But I'm not that deep in the public holiday game to give you a reliable answer. The PDF seems kinda trustworthy, even the sources are mentioned. I don't find any inconsistencies while skimming the table. |
* Switzerland - Fix Epiphany - #683 * cleanup namespaces
* Switzerland - Saint Joseph's Day - #683 * Update SwitzerlandHolidayProvider.cs
* Switzerland - Fix St. Stephen's Day - #683 * optimize logic for CH-AR, CH-AI, CH-NE
All changes announced above have now been implemented |
The holiday updates now available online |
Hi Tino You've done some decent work here! As far as I can see, some public holidays are now listed twice, once with type 'Public', once with type 'Observance'. So far, so good, but what I don't get: why e.g. Easter Monday gets listed twice for the year 2025
But only listed once for the year 2026 - with all cantons, like before your adjustments:
In 2027, Easter Monday again is listed twice, in 2023 only once. I observe the same behavior with other public holidays too, like Epiphany or St. Stephen's Day. Am I missing something? Best |
@klamir051 Does the data come from the public api? Then it is probably still due to the cache. |
I queried the data via public API and with your website, e.g. https://date.nager.at/PublicHoliday/Switzerland/2026. Now everything seems aligned and public holidays of type 'Observance' occur for every year. So cache might have been rebuilt in the meantime. |
A customer of Nager Date has kindly compiled this information which I will include in the next few days.
Schweizer Feiertage.pdf
The text was updated successfully, but these errors were encountered: