Skip to content
Snippets Groups Projects
Commit 60756cd1 authored by Lukas Ruge's avatar Lukas Ruge
Browse files

update 2025b

parent fb8eb83c
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ def is_third_monday_of_month_and_uneven_month_before_june_or_before_september(_d
def first_saturday_after_may_10th(_date_candidate):
_year = _date_candidate.year
_start_string = str(_year) + "-05-10"
_start_string = str(_year) + "-05-11"
_start = datetime.datetime.strptime(_start_string, date_format)
while _start.month == 5:
if _start.weekday() == SAT:
......
......@@ -29,7 +29,7 @@ NOOK = True
# zweiter freitag im November (und der darauf folgende Samstag)
# FÜNF MINUTEN TERMINE
# Zweiter Mittwoch im januar, April, september und dezember
# Zweiter Mittwoch im Februar, April, september und dezember
FUENF_MIN_TERMINE = True
SOMMERFEST = True
......@@ -121,7 +121,7 @@ def is_nook(_date_candidate):
def is_fuenf_min(_date_candidate):
if utils.is_january(_date_candidate) or utils.is_april(_date_candidate) or utils.is_september(
if utils.is_february(_date_candidate) or utils.is_april(_date_candidate) or utils.is_september(
_date_candidate) or utils.is_december(_date_candidate):
if utils.is_nth_wednesday_of_month(_date_candidate, 2):
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment