Commit c788cba8 authored by Ferdinand Majerech's avatar Ferdinand Majerech

calendar ugly hack to disable february 2019 meetups

parent 4a4b4774
......@@ -33,7 +33,9 @@ def get_meetups():
# this is really lazy
while now >= start:
start += timedelta(days=14)
return [Event("V01D meetup (otvorené verejnosti)", start + timedelta(14 * i), "Pravidelné stretnutie členov aj nečlenov V01D") for i in range(meetup_count)]
unfiltered = [Event("V01D meetup (otvorené verejnosti)", start + timedelta(14 * i), "Pravidelné stretnutie členov aj nečlenov V01D") for i in range(meetup_count)]
# hack for february 2019 moving
return [x for x in unfiltered if (x.date.year != 2019 or x.date.month != 2)]
def get_events(filename):
result = fixed_events + get_meetups()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment