#23714: `date` filter raises an exception for naive datetimes during DST change
---------------------------------+-------------------------------------
Reporter: mbertheau | Owner: aaugustin
Type: Bug | Status: assigned
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 Tim Graham <timograham@…>):
In [changeset:"c6a49d4f17db4579389e3f0477436f2444dead10"]:
{{{
#!CommitTicketReference repository=""
revision="c6a49d4f17db4579389e3f0477436f2444dead10"
[1.8.x] Fixed a crash of the debug page.
During the autumn DST change, the template engine would fail to convert
the naive representation of now when USE_TZ = True. Passing now in UTC
eliminates the issue.
Thanks mbertheau and tricoder42.
Refs #23714.
Backport of c7a6996df7e77bc3b9c5e581e67d766627ebabec from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23714#comment:21>
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.ec5238361d00ee054e35cc4905c74e32%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.