FIX errore su date mancanti dopo modifiche recenti
This commit is contained in:
parent
c2f965c96d
commit
60a40173ba
1 changed files with 2 additions and 1 deletions
|
@ -201,7 +201,8 @@ class TalkListDirective(Directive):
|
|||
'''
|
||||
d = get_talk_data(name)
|
||||
room = d.get('room', '')
|
||||
time = d.get('time', datetime.datetime(1, 1, 1))
|
||||
time = d.get('time', datetime.datetime(1, 1, 1).replace(
|
||||
tzinfo=dateutil.tz.gettz('Europe/Rome')))
|
||||
title = d.get('title', '')
|
||||
return (time, room, title)
|
||||
|
||||
|
|
Loading…
Reference in a new issue