From 3132edae41dbb13b924e98e8f0254e847155a050 Mon Sep 17 00:00:00 2001 From: Joseph Dougherty Date: Tue, 16 Sep 2014 23:30:11 -0400 Subject: [PATCH] [1.4.x] Fixed #23499 -- Error in built-in template tag "now" documentation Backport of ab8248361e0a7b4fc7684eaaa5891e16b8562683 from master. --- docs/ref/templates/builtins.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 4b1a6be7cf2..e97aabcd2a7 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -744,11 +744,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".