From 7060f777b09da2a844820a39f227a420c2c6ff90 Mon Sep 17 00:00:00 2001 From: Christoph Schindler Date: Tue, 11 Apr 2017 18:30:58 +0200 Subject: [PATCH] Fixed outdated TIME_FORMAT in docs/ref/templates/builtins.txt. The format changed in 22bfc451467ec6e13044a87a97cf00e9f8a845e4. --- docs/ref/templates/builtins.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 166a84f2fc..daf4f9abe1 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2160,8 +2160,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