mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed outdated TIME_FORMAT in docs/ref/templates/builtins.txt.
The format changed in 22bfc45146.
This commit is contained in:
committed by
Tim Graham
parent
2a6b4e6521
commit
7060f777b0
@@ -2160,8 +2160,8 @@ for example, ``"de"``, then for::
|
|||||||
|
|
||||||
{{ value|time:"TIME_FORMAT" }}
|
{{ value|time:"TIME_FORMAT" }}
|
||||||
|
|
||||||
the output will be the string ``"01:23:00"`` (The ``"TIME_FORMAT"`` format
|
the output will be the string ``"01:23"`` (The ``"TIME_FORMAT"`` format
|
||||||
specifier for the ``de`` locale as shipped with Django is ``"H:i:s"``).
|
specifier for the ``de`` locale as shipped with Django is ``"H:i"``).
|
||||||
|
|
||||||
The ``time`` filter will only accept parameters in the format string that
|
The ``time`` filter will only accept parameters in the format string that
|
||||||
relate to the time of day, not the date (for obvious reasons). If you need to
|
relate to the time of day, not the date (for obvious reasons). If you need to
|
||||||
|
|||||||
Reference in New Issue
Block a user