diff options
| author | Christoph Schindler <hop@30hopsmax.at> | 2017-04-11 18:30:58 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-04-11 12:31:15 -0400 |
| commit | b888fdf79cd3ce95a83dc07826223a0f3383e747 (patch) | |
| tree | 2e53f27b9ad20d619657a1d3d07e94d9a28546ae | |
| parent | c3d3aeeafad1562ab82b250a55e09c2f513b0105 (diff) | |
[1.11.x] Fixed outdated TIME_FORMAT in docs/ref/templates/builtins.txt.
The format changed in 22bfc451467ec6e13044a87a97cf00e9f8a845e4.
Backport of 7060f777b09da2a844820a39f227a420c2c6ff90 from master
| -rw-r--r-- | docs/ref/templates/builtins.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index d7d43d19f6..80ba36b93a 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2188,8 +2188,8 @@ for example, ``"de"``, then for:: {{ value|time:"TIME_FORMAT" }} -the output will be the string ``"01:23:00"`` (The ``"TIME_FORMAT"`` format -specifier for the ``de`` locale as shipped with Django is ``"H:i:s"``). +the output will be the string ``"01:23"`` (The ``"TIME_FORMAT"`` format +specifier for the ``de`` locale as shipped with Django is ``"H:i"``). 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 |
