We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a9838 commit 849e92dCopy full SHA for 849e92d
1 file changed
ietf/idtracker/feeds.py
@@ -59,5 +59,5 @@ def items(self):
59
def item_pubdate(self, item):
60
# this method needs to return a datetime instance, even
61
# though the database has only date, not time
62
- return datetime.datetime.combine(item.document().lc_sent_date, datetime.time(0,0,0))
+ return datetime.datetime.combine((item.document().lc_sent_date or datetime.datetime.now().date()), datetime.time(0,0,0))
63
0 commit comments