Changes between Initial Version and Version 3 of Ticket #29931


Ignore:
Timestamp:
Nov 8, 2018, 6:18:27 PM (6 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29931

    • Property Owner changed from nobody to Hasan Ramezani
    • Property Status newassigned
    • Property Has patch set
    • Property Patch needs improvement set
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Improve `contrib.humanize.templatetags.humanize.naturalday` and add more test for itRemove untested ValueError catching in naturalday template filter
  • Ticket #29931 – Description

    initial v3  
    1 Small change in  `contrib.humanize.templatetags.humanize.naturalday` and test to cover `ValueError` in this function.
     1This branch is untested:
     2{{{
     3except ValueError:
     4        # Date arguments out of range
     5}}}
     6I don't see how that branch could happen if `value` is a date.
Back to Top