python-holidays icon indicating copy to clipboard operation
python-holidays copied to clipboard

Zurich holidays mismatch

Open KJhellico opened this issue 7 months ago • 6 comments

Knabenschiessen seems wrong in 2026, it should only be listed on 14.09.26 as a half-day, not also on 12.09.26 and 13.09.26. Additionally it's actually only a holiday for the city of Zurich, but that can't be modeled in the library.

https://www.stadt-zuerich.ch/de/politik-und-verwaltung/arbeiten-bei-der-stadt/gut-zu-wissen/ferien-urlaub/feiertage-betriebsferientage-bft.html

Originally posted by @onasipim in #784

KJhellico avatar Apr 20 '26 19:04 KJhellico

I'm copying my own reply from that discussion over here as well to make this easier for tracking:

I double-checked again and it seems like Knabenschiessen were observed on 12 and 13 April 2026 as well - just not on the city calendar as "Holidays that fall on a weekend are not listed in the table".

Image Image

We do in fact have the ability to add city-level observances, as done so for Italy and Germany at the moment - I'm thinking of using key "Stadt Zürich" for this particular case

PPsyrius avatar Apr 21 '26 04:04 PPsyrius

For canton-wide holidays observance - I'm using https://www.zh.ch/de/wirtschaft-arbeit/arbeitsbedingungen/arbeitsssicherheit-gesundheitsschutz/arbeits-ruhezeiten/feiertage.html as a base

PPsyrius avatar Apr 21 '26 06:04 PPsyrius

Thanks for opening an issue and taking a look at it.

For canton-wide holidays observance - I'm using https://www.zh.ch/de/wirtschaft-arbeit/arbeitsbedingungen/arbeitsssicherheit-gesundheitsschutz/arbeits-ruhezeiten/feiertage.html as a base

Yes, this is the official list. But in your library for state ZH there are too many which are not listed on the site (DD.MM.YYYY):

  • 02.01.26
  • 02.04.26
  • 13.05.26
  • 24.12.26
  • 31.12.26

See the comment on the site regarding the mismatch to the published document on the website of the Swiss government. For other states it may make sense to verify them: https://www.bj.admin.ch/dam/bj/de/data/publiservice/service/zivilprozessrecht/kant-feiertage.pdf.download.pdf/kant-feiertage-dfi.pdf

onasipim avatar Apr 21 '26 16:04 onasipim

Yes, but the actual Zurich (Canton)'s own Ruhetags- und Ladenöffnungsgesetz document did leave out Berchtoldstag AFAIK, while de facto observing Ostersonntag, Pfingstsonntag, and Eidgenössischer Bettag from what I understand

For the current updated WIP version (PR #3548), see:

  • Canton-level: https://github.com/PPsyrius/python-holidays/blob/35c56c4c1df51c3cee0bc9a66f542bf769bb4170/snapshots/countries/CH_ZH.json#L913

  • City-level: https://github.com/PPsyrius/python-holidays/blob/35c56c4c1df51c3cee0bc9a66f542bf769bb4170/snapshots/countries/CH_STADT_ZURICH.json#L1845

Still, that document looks great for other Swiss cantons - I'll do a full check with that soon

PPsyrius avatar Apr 21 '26 16:04 PPsyrius

For other states it may make sense to verify them: https://www.bj.admin.ch/dam/bj/de/data/publiservice/service/zivilprozessrecht/kant-feiertage.pdf.download.pdf/kant-feiertage-dfi.pdf

I used this document while working on #1648.

KJhellico avatar Apr 21 '26 17:04 KJhellico

The WIP version for state ZH looks fine, except Eidgenössischer Bettag on 2026-09-20 is not celebrated in this state as you can see in:

  • https://www.bj.admin.ch/dam/bj/de/data/publiservice/service/zivilprozessrecht/kant-feiertage.pdf.download.pdf/kant-feiertage-dfi.pdf
  • https://www.zh.ch/de/wirtschaft-arbeit/arbeitsbedingungen/arbeitsssicherheit-gesundheitsschutz/arbeits-ruhezeiten/feiertage.html

The city level for Zürich should be the same as the WIP for state ZH, only adding 2x events:

  • "2026-04-20": "Sechseläuten", (half-day)
  • "2026-09-14": "Knabenschiessen", (half-day)

The site https://www.stadt-zuerich.ch/de/politik-und-verwaltung/arbeiten-bei-der-stadt/gut-zu-wissen/ferien-urlaub/feiertage-betriebsferientage-bft.html is misleading as it concerns municipal employees / city employees. They are granted additional days. Officially no one who works for an employer based in the city of Zurich is entitled to these two days, but most employer grant them, see https://www.zuerich.com/de/informieren-planen/nuetzliche-infos-und-services/oeffnungszeiten-und-feiertage/feiertage

Zwei Ereignisse werden nur in der Stadt Zürich gefeiert: das Sechseläuten im Frühling und das Knabenschiessen im Herbst. [...] An beiden Tagen wird meist nur Vormittags gearbeitet, der Nachmittag ist dem Feiern gewidmet.

onasipim avatar Apr 21 '26 17:04 onasipim