Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.5.x] Fixed #20711 -- Fixed broken link in timesince.py docstring

Backport of d63327d from master.
  • Loading branch information...
commit 4140bfb93c88470c1fb6c45a4ea15d819a6baa35 1 parent 80673e2
@onceuponatimeforever onceuponatimeforever authored timgraham committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/utils/timesince.py
View
3  django/utils/timesince.py
@@ -16,7 +16,8 @@ def timesince(d, now=None, reversed=False):
displayed. For example, "2 weeks, 3 days" and "1 year, 3 months" are
possible outputs, but "2 weeks, 3 hours" and "1 year, 5 days" are not.
- Adapted from http://blog.natbat.co.uk/archive/2003/Jun/14/time_since
+ Adapted from
+ http://web.archive.org/web/20060617175230/http://blog.natbat.co.uk/archive/2003/Jun/14/time_since
"""
chunks = (
(60 * 60 * 24 * 365, lambda n: ungettext('year', 'years', n)),
Please sign in to comment.
Something went wrong with that request. Please try again.