Kaydet (Commit) ab824836 authored tarafından Joseph Dougherty's avatar Joseph Dougherty Kaydeden (comit) Baptiste Mispelon

Fixed #23499 -- Error in built-in template tag "now" documentation

üst a0dfef02
......@@ -776,11 +776,11 @@ Example::
It is {% now "jS F Y H:i" %}
Note that you can backslash-escape a format string if you want to use the
"raw" value. In this example, "f" is backslash-escaped, because otherwise
"f" is a format string that displays the time. The "o" doesn't need to be
escaped, because it's not a format character::
"raw" value. In this example, both "o" and "f" are backslash-escaped, because
otherwise each is a format string that displays the year and the time,
respectively::
It is the {% now "jS o\f F" %}
It is the {% now "jS \o\f F" %}
This would display as "It is the 4th of September".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment