]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fix typo on filter name 1911/head
authorVitor Buxbaum <vitorbuxbaum@gmail.com>
Fri, 17 Nov 2023 12:04:42 +0000 (09:04 -0300)
committerDavid Lord <davidism@gmail.com>
Wed, 18 Dec 2024 16:52:06 +0000 (08:52 -0800)
docs/api.rst

index cb62f6c327a40ce20872e2f1d5164ece8ff13748..c0fa163a0c79ccb9d8a7251384e1d15d7da11eac 100644 (file)
@@ -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