--
Ticket URL: <https://code.djangoproject.com/ticket/29931>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Hasan Ramezani
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/29931#comment:1>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/29931#comment:2>
* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted
Old description:
> Small change in `contrib.humanize.templatetags.humanize.naturalday` and
> test to cover `ValueError` in this function.
New description:
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.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/29931#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"f62cf22c48c1aa1badffd675a360e87d5d3ddb23" f62cf22]:
{{{
#!CommitTicketReference repository=""
revision="f62cf22c48c1aa1badffd675a360e87d5d3ddb23"
Fixed #29931 -- Removed unused ValueError handling in naturalday template
tag.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29931#comment:4>