|
@@ -180,7 +180,7 @@ class SitemapGenerator(object):
|
|
for article in articles:
|
|
for article in articles:
|
|
lastmod = max(lastmod, article.date.replace(tzinfo=self.timezone))
|
|
lastmod = max(lastmod, article.date.replace(tzinfo=self.timezone))
|
|
try:
|
|
try:
|
|
- modified = self.get_date_modified(article, datetime.min.replace(tzinfo=self.timezone));
|
|
|
|
|
|
+ modified = self.get_date_modified(article, datetime.min).replace(tzinfo=self.timezone)
|
|
lastmod = max(lastmod, modified)
|
|
lastmod = max(lastmod, modified)
|
|
except ValueError:
|
|
except ValueError:
|
|
# Supressed: user will be notified.
|
|
# Supressed: user will be notified.
|