Fixed #19210 -- Added leap year support to django.utils.timesince()

This commit is contained in:
Raphael Michel 2015-06-05 00:46:52 +02:00 committed by Tim Graham
parent 0207bdd2d4
commit 6700c90935
3 changed files with 12 additions and 0 deletions

View file

@ -297,6 +297,9 @@ Templates
the ability to register libraries and builtins explicitly through the
template :setting:`OPTIONS <TEMPLATES-OPTIONS>`.
* The ``timesince`` and ``timeuntil`` filters were improved to deal with leap
years when given large time spans.
Requests and Responses
^^^^^^^^^^^^^^^^^^^^^^