#23714: `date` filter raises an exception for naive datetimes during DST change
---------------------------------+------------------------------------
Reporter: mbertheau | Owner:
Type: Bug | Status: new
Component: Template system | Version: 1.7
Severity: Normal | Resolution:
Keywords: timezone | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Aymeric Augustin <aymeric.augustin@…>):
In [changeset:"1014ba026e879e56e0f265a8d9f54e6f39843348" 1014ba02]:
{{{
#!CommitTicketReference repository=""
revision="1014ba026e879e56e0f265a8d9f54e6f39843348"
Fixed debug view crash during autumn DST change.
This only happens if USE_TZ = False and pytz is installed (perhaps not
the most logical combination, but who am I to jugde?)
Refs #23714 which essentially fixed the same problem when USE_TZ = True.
Thanks Florian and Carl for insisting until I wrote a complete patch.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23714#comment:23>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.0a256958a73992891d4cab79c40ae169%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.