Opened 20 months ago

Last modified 20 months ago

#27451 new Bug

syndication feed may crash with AmbiguousTimeError

Reported by: Markus Holtermann Owned by: nobody
Component: contrib.syndication Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

Having a naive time in DST and turning it into a STD results in an AmbiguousTimeError in django/contrib/syndication/views.py for pubdate, updatedate and possibly others.

https://sentry.io/share/issue/33303436382e313737363032343732/

Change History (1)

comment:1 Changed 20 months ago by Tim Graham

Description: modified (diff)
Summary: AmbiuousTimeError in syndication feedsyndication feed may crash with AmbiguousTimeError
Triage Stage: UnreviewedAccepted

I'm not sure what the proper resolution is. Perhaps providing a value for the is_dst argument of make_aware(), but what value to use?

Note: See TracTickets for help on using tickets.
Back to Top