#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:"94d13415d81f24743045bcaa43027c737e2bcf5f" 94d1341]:
 {{{
 #!CommitTicketReference repository=""
 revision="94d13415d81f24743045bcaa43027c737e2bcf5f"
 [1.8.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 1014ba026e from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23714#comment:24>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.d8f4e9fc6509cdc8a6dfc245d1ed645b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to