This commit is contained in:
Kovid Goyal 2010-12-07 13:19:48 -07:00
parent e20d092ba0
commit 418b036d4f

View File

@ -166,7 +166,7 @@ class Feed(object):
self.articles.append(article) self.articles.append(article)
else: else:
t = strftime(u'%a, %d %b, %Y %H:%M', article.localtime.timetuple()) t = strftime(u'%a, %d %b, %Y %H:%M', article.localtime.timetuple())
self.logger.debug('Skipping article %s (%s) from feed %s as it is too old.'% self.logger.debug(u'Skipping article %s (%s) from feed %s as it is too old.'%
(title, t, self.title)) (title, t, self.title))
d = item.get('date', '') d = item.get('date', '')
article.formatted_date = d article.formatted_date = d