Merge remote branch 'jpb0104/master'

* jpb0104/master:
  Added an example of escaped "at" in a date filter.
This commit is contained in:
Fabien Potencier
2011-05-18 08:05:56 +02:00
+6
View File
@@ -1137,6 +1137,12 @@ word "now":
{{ "now"|date("m/d/Y") }}
To escape words and characters in the date format use ``\\`` in front of each character:
.. code-block:: jinja
{{ post.published_at|date("F jS \\a\\t g:ia") }}
``format``
~~~~~~~~~~