#23714: `date` filter raises an exception for naive datetimes during DST change ---------------------------------+-------------------------------------- Reporter: mbertheau | Owner: tricoder42 Type: Bug | Status: assigned Component: Template system | Version: 1.7 Severity: Normal | Resolution: Keywords: timezone | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 1 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+--------------------------------------
Comment (by tricoder42): I understand that usually templates handle exceptions silently, printing nothing on error. I just don't like the idea that for one hour a year, the template won't display datetime at all (for naive datetimes). Yes, we're making a decision instead of users, but they won't know about this issue, since it's occurrence is so rare. This isn't a common scenario which is easily tested. Maybe at least show warning so user can see in logs what happened and why? -- Ticket URL: <https://code.djangoproject.com/ticket/23714#comment:10> 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.1d4dac986e6124deb18f8c9890df1255%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.