Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#20711 closed Cleanup/optimization (fixed)

Reference url link in utils/timesince.py docstring is broken

Reported by: susan Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords: broken url link docstring documentation
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In utils/timesince.py, the last sentence of the docstring in timesince.py says, "Adapted from http://blog.natbat.co.uk/archive/2003/Jun/14/time_since"

But this url link is broken. http://blog.natbat.co.uk/archive/2003/Jun/14/time_since

Change History (6)

comment:1 Changed 20 months ago by timo

  • Component changed from Uncategorized to Documentation
  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

We could use archive.org or simply drop the link.

comment:2 Changed 20 months ago by susan

I'm not sure if I should be doing a PR for such a minor fix for this ticket. https://github.com/django/django/pull/1337 The reference url explains a lot on how timesince.py is implemented.

comment:3 Changed 20 months ago by susan

  • Has patch set

comment:4 Changed 20 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In d63327d84368b834793374c4a73d88f94a1e85da:

Fixed #20711 -- Fixed broken link in timesince.py docstring

comment:5 Changed 20 months ago by Tim Graham <timograham@…>

In 4140bfb93c88470c1fb6c45a4ea15d819a6baa35:

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

Backport of d63327d843 from master.

comment:6 Changed 20 months ago by Tim Graham <timograham@…>

In 40d26877871caed894bd59ed735f84c1807472da:

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

Backport of d63327d843 from master.

Note: See TracTickets for help on using tickets.
Back to Top