mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #19210 -- Added leap year support to django.utils.timesince()
This commit is contained in:
parent
0207bdd2d4
commit
6700c90935
3 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue