From 7d023e5a8600d0db1e6d11f5434737dbcccfcab6 Mon Sep 17 00:00:00 2001 From: Vitor Buxbaum Date: Fri, 17 Nov 2023 09:04:42 -0300 Subject: [PATCH] Fix typo on filter name --- docs/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index cb62f6c3..c0fa163a 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -666,8 +666,8 @@ Now it can be used in templates: .. sourcecode:: jinja - {{ article.pub_date|datetimeformat }} - {{ article.pub_date|datetimeformat("%B %Y") }} + {{ article.pub_date|datetime_format }} + {{ article.pub_date|datetime_format("%B %Y") }} Some decorators are available to tell Jinja to pass extra information to the filter. The object is passed as the first argument, making the value -- 2.47.2