FIX errore su date mancanti dopo modifiche recenti

This commit is contained in:
boyska 2018-06-29 15:19:50 +02:00
parent c2f965c96d
commit 60a40173ba

View file

@ -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)