We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0001e8 commit a4a98c5Copy full SHA for a4a98c5
holidays/countries/switzerland.py
@@ -795,10 +795,9 @@ def _populate_subdiv_zh_optional_holidays(self):
795
@property
796
def _vernal_equinox_date(self) -> tuple[int, int]:
797
"""Return the Vernal Equinox date for Zurich (1902-1951)."""
798
- day = 21
799
- if (self._year >= 1916 and self._year % 4 == 0) or self._year == 1949:
800
- day = 20
801
- return MAR, day
+ return MAR, 20 if (
+ (self._year >= 1916 and self._year % 4 == 0) or self._year == 1949
+ ) else 21
802
803
804
class CH(Switzerland):
0 commit comments