From bf82a4594d1b883a5762cfe83c119d9b287d7e59 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sun, 13 Jul 2025 11:48:41 +0100 Subject: [PATCH] I forgot to add format_duration() to the manual. --- manual/template_lang.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manual/template_lang.rst b/manual/template_lang.rst index 5417cfc839..1b48f4d08c 100644 --- a/manual/template_lang.rst +++ b/manual/template_lang.rst @@ -192,6 +192,7 @@ The following functions are usable in Single Function Mode because their first p * :ffsum:`encode_for_url` * :ffsum:`floor` * :ffsum:`format_date` +* :ffsum:`format_duration` * :ffsum:`format_number` * :ffsum:`fractional_part` * :ffsum:`human_readable` @@ -293,7 +294,7 @@ Notes: * In a logical context, any non-empty value is ``True`` * In a logical context, the empty value is ``False`` * Strings and numbers can be used interchangeably. For example, ``10`` and ``'10'`` are the same thing. -* Comments are lines starting with blanks or tabs then a '#' character. +* Comments are lines starting with a '#' character, possibly preceded by blanks or tabs. **Operator precedence**