summaryrefslogtreecommitdiff
path: root/feeds.py
diff options
context:
space:
mode:
Diffstat (limited to 'feeds.py')
-rw-r--r--feeds.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/feeds.py b/feeds.py
index 7247e95c..0f7fa5d7 100644
--- a/feeds.py
+++ b/feeds.py
@@ -159,6 +159,9 @@ class NewsFeed(Feed):
def item_pubdate(self, item):
return item.postdate
+ def item_updateddate(self, item):
+ return item.last_modified
+
def item_author_name(self, item):
return item.author.get_full_name()
@@ -191,6 +194,9 @@ class ReleaseFeed(Feed):
def item_pubdate(self, item):
return datetime.combine(item.release_date, time()).replace(tzinfo=utc)
+ def item_updateddate(self, item):
+ return item.last_modified
+
item_guid_is_permalink = False
def item_guid(self, item):