From b0bad20756549df5edf726771c8e6869caba6244 Mon Sep 17 00:00:00 2001
From: Dan McGee <dan@archlinux.org>
Date: Wed, 15 Jun 2011 16:12:01 -0500
Subject: Use correct date in news sitemap

Signed-off-by: Dan McGee <dan@archlinux.org>
---
 sitemaps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sitemaps.py b/sitemaps.py
index 1a3669ad..37387f15 100644
--- a/sitemaps.py
+++ b/sitemaps.py
@@ -47,6 +47,6 @@ def items(self):
         return News.objects.all()
 
     def lastmod(self, obj):
-        return obj.postdate
+        return obj.last_modified
 
 # vim: set ts=4 sw=4 et:
-- 
cgit v1.2.3-54-g00ecf