#4076: Patch to Output Timezone in Date Fields for Atom Feeds ----------------------------------------------------------+----------------- Reporter: Alastair Tse <alast...@liquidx.net> | Owner: toke Status: reopened | Milestone: Component: RSS framework | Version: 1.1 Resolution: | Keywords: sprintsept14 Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ----------------------------------------------------------+----------------- Changes (by anonymous):
* status: closed => reopened * has_patch: 1 => 0 * version: SVN => 1.1 * resolution: fixed => Comment: Same problem here: Code: {{{ def items(self): return Entry.objects.filter(is_published=True, pub_date__lte=datetime.date.today()).order_by('-pub_date')[:5] }}} Error: {{{ Exception Type: AttributeError Exception Value: 'datetime.date' object has no attribute 'tzinfo' Exception Location: /Library/Python/2.6/site- packages/django/contrib/syndication/feeds.py in get_feed, line 148 Python Executable: /usr/bin/python Python Version: 2.6.1 }}} -- Ticket URL: <http://code.djangoproject.com/ticket/4076#comment:6> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---