fix item publication date in atom view
This commit is contained in:
parent
ef0dcf1ebb
commit
0296e37098
|
@ -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()
|
||||
|
|
Reference in New Issue