1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

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
^^^^^^^^^^^^^^^^^^^^^^