Update 'trhkalendar.py'

This commit is contained in:
lexik 2023-06-29 17:03:49 +02:00
parent 03359b1f8e
commit b2ac3af606

View file

@ -27,15 +27,15 @@ for event in priv_cal.events:
#event.uid = None
event.description = None
event.name = "Closed event - not for public"
event.begin = event.begin.shift(hours=+1)
event.end = event.end.shift(hours=+1)
event.end = event.end.shift(hours=+2)
event.begin = event.begin.shift(hours=+2)
final_cal.events.add(event)
for event in pub_cal.events:
event.url = None
event.begin = event.begin.shift(hours=+1)
event.end = event.end.shift(hours=+1)
event.end = event.end.shift(hours=+2)
event.begin = event.begin.shift(hours=+2)
event.description = event.description.split("\n",2)[2] # Remove forum URL from description
final_cal.events.add(event)