#17675: using date filter with regroup tag not working with 1.4 TZ
-------------------------------------+-------------------------------------
Reporter: ptone | Owner: aaugustin
Type: Bug | Status: new
Component: Core (Other) | Version:
Severity: Release blocker | 1.4-alpha-1
Keywords: | Resolution:
Has patch: 1 | Triage Stage: Ready for
Needs tests: 0 | checkin
Easy pickings: 0 | Needs documentation: 0
| Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* stage: Accepted => Ready for checkin
Comment:
The same problem has "always" existed for template filters that have
`needs_autoescape = True`. However, none of these are likely to be used in
a `{% regroup %}` tag, so the bug went undetected. Since I added support
for time zones, the problem also occurs for template filters that have
`expects_localtime = True`: `|date` and `|time`, making it effectively a
regression and a release blocker.
I'm uploading a new patch that adds a contrived example (`'regroup04'`) in
the tests for the shake of completeness, and more comments in the
implementation of `{% regroup %}`. I believe it's good to go, I'm putting
it in RFC in case someone wants to take a look or commit it.
--
Ticket URL: <https://code.djangoproject.com/ticket/17675#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.