Skip to content

Importer imports naive dates #48

@sirex

Description

@sirex
Traceback:
File "/home/sirex/.buildout/eggs/Django-1.7-py3.4.egg/django/core/handlers/base.py" in get_response
111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/sirex/.buildout/eggs/Django-1.7-py3.4.egg/django/contrib/syndication/views.py" in __call__
44.         feedgen = self.get_feed(obj, request)
File "/home/sirex/.buildout/eggs/Django-1.7-py3.4.egg/django/contrib/syndication/views.py" in get_feed
192.             if pubdate and is_naive(pubdate):
File "/home/sirex/.buildout/eggs/Django-1.7-py3.4.egg/django/utils/timezone.py" in is_naive
349.     return value.tzinfo is None or value.tzinfo.utcoffset(value) is None

Exception Type: AttributeError at /latest/feed/
Exception Value: 'datetime.date' object has no attribute 'tzinfo'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions