Opened 6 years ago
Last modified 6 years ago
#29931 closed Cleanup/optimization
Remove untested ValueError catching in naturalday template filter — at Version 3
Description (last modified by ) ¶
This branch is untested:
except ValueError: # Date arguments out of range
I don't see how that branch could happen if value
is a date.
Change History (3)
comment:1 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 6 years ago
Has patch: | set |
---|
comment:3 by , 6 years ago
Description: | modified (diff) |
---|---|
Patch needs improvement: | set |
Summary: | Improve `contrib.humanize.templatetags.humanize.naturalday` and add more test for it → Remove untested ValueError catching in naturalday template filter |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.