#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 Tim Graham <timograham@…>):

 In [changeset:"ca0278f49652c0069d82c08917e0c420dede207b" ca0278f4]:
 {{{
 #!CommitTicketReference repository=""
 revision="ca0278f49652c0069d82c08917e0c420dede207b"
 [1.9.x] 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.

 Backport of 1014ba026e879e56e0f265a8d9f54e6f39843348 from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23714#comment:25>
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.73a712b4eace3ee693a9a265838317c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to