Ticket #9957: feeds_timezone_check.diff
File feeds_timezone_check.diff, 521 bytes (added by , 16 years ago) |
---|
-
django/contrib/syndication/feeds.py
144 144 author_email = author_link = None 145 145 146 146 pubdate = self.__get_dynamic_attr('item_pubdate', item) 147 if pubdate :147 if pubdate and not pubdate.tzinfo: 148 148 now = datetime.now() 149 149 utcnow = datetime.utcnow() 150 150