forked from indymedia/epicyon
Nested lists
parent
3464fee873
commit
29b94eef31
|
@ -2840,10 +2840,11 @@ def htmlCalendarDay(translate: {}, \
|
||||||
calendarStr+='</caption>\n'
|
calendarStr+='</caption>\n'
|
||||||
calendarStr+='<tbody>\n'
|
calendarStr+='<tbody>\n'
|
||||||
|
|
||||||
|
for eventPost in dayEvents:
|
||||||
eventTime=None
|
eventTime=None
|
||||||
eventDescription=None
|
eventDescription=None
|
||||||
eventPlace=None
|
eventPlace=None
|
||||||
for ev in dayEvents:
|
for ev in eventPost:
|
||||||
if ev['type']=='Event':
|
if ev['type']=='Event':
|
||||||
if ev.get('startTime'):
|
if ev.get('startTime'):
|
||||||
eventDate=datetime.datetime.strptime(ev['startTime'],"%Y-%m-%dT%H:%M:%S%z")
|
eventDate=datetime.datetime.strptime(ev['startTime'],"%Y-%m-%dT%H:%M:%S%z")
|
||||||
|
|
Loading…
Reference in New Issue