forked from NoLog.cz/trhlina-calendar
Update 'trhkalendar.py'
This commit is contained in:
parent
03359b1f8e
commit
b2ac3af606
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue