fix item publication date in atom view

This commit is contained in:
Serghei Mihai 2016-05-03 10:21:55 +02:00
parent ef0dcf1ebb
commit 0296e37098
1 changed files with 1 additions and 1 deletions

View File

@ -124,6 +124,6 @@ class AtomView(Feed):
return self.feed_item_link_template.format(item.pk)
def item_pubdate(self, item):
return item.publication_time or item.m_time
return item.publication_time or item.mtime
atom = AtomView()