Ordina talk per stanza/nome oltre che per data
This commit is contained in:
parent
5aed1abcd4
commit
e28ed8f549
1 changed files with 4 additions and 3 deletions
|
@ -188,9 +188,10 @@ class TalkListDirective(Directive):
|
|||
When no date is available, put at the beginning
|
||||
'''
|
||||
d = get_talk_data(name)
|
||||
if 'time' in d:
|
||||
return d['time']
|
||||
return datetime.datetime(1, 1, 1)
|
||||
room = d.get('room', '')
|
||||
time = d.get('time', datetime.datetime(1, 1, 1))
|
||||
title = d.get('title', '')
|
||||
return (time, room, title)
|
||||
|
||||
return [
|
||||
nodes.raw('', tmpl.render(lang=lang, **get_talk_data(n)),
|
||||
|
|
Loading…
Reference in a new issue