summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusanTan <onceuponatimeforever@gmail.com>2013-07-06 18:24:38 -0700
committerTim Graham <timograham@gmail.com>2013-07-07 12:40:44 -0400
commit40d26877871caed894bd59ed735f84c1807472da (patch)
treeb4976f9158b7da44974d4f32d7853a56db6baa27
parenta22b2aea192e8722aa3004c9e50e728438a453cd (diff)
[1.6.x] Fixed #20711 -- Fixed broken link in timesince.py docstring
Backport of d63327d843 from master.
-rw-r--r--django/utils/timesince.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/utils/timesince.py b/django/utils/timesince.py
index 46c387f262..8fb0f64e09 100644
--- a/django/utils/timesince.py
+++ b/django/utils/timesince.py
@@ -17,7 +17,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, ungettext_lazy('%d year', '%d years')),