Nested lists

main2
Bob Mottram 2019-10-11 21:52:15 +01:00
parent 3464fee873
commit 29b94eef31
1 changed files with 14 additions and 13 deletions

View File

@ -2840,10 +2840,11 @@ def htmlCalendarDay(translate: {}, \
calendarStr+='</caption>\n'
calendarStr+='<tbody>\n'
for eventPost in dayEvents:
eventTime=None
eventDescription=None
eventPlace=None
for ev in dayEvents:
for ev in eventPost:
if ev['type']=='Event':
if ev.get('startTime'):
eventDate=datetime.datetime.strptime(ev['startTime'],"%Y-%m-%dT%H:%M:%S%z")