From e94efee946bb440a4ea9fbe89dcb58972a87e8b3 Mon Sep 17 00:00:00 2001 From: Curtis Maloney Date: Sat, 21 Sep 2013 13:54:48 +1000 Subject: [1.6.x] Fixed #21133 -- Clarifed documentation about strftime formatting. Backport of 43a2ec7999 from master --- docs/ref/templates/builtins.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/ref/templates') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 3c64efb508..e92a46e163 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1245,6 +1245,10 @@ Formats a date according to the given format. Uses a similar format as PHP's ``date()`` function (http://php.net/date) with some differences. +.. note:: + These format characters are not used in Django outside of templates. They + were designed to be compatible with PHP to ease transitioning for designers. + Available format strings: ================ ======================================== ===================== -- cgit v1.3