diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2011-03-01 03:05:57 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2011-03-01 03:05:57 +0000 |
| commit | 5aca35329cb44f05b3594c311ba4d1bae4f48e12 (patch) | |
| tree | 2c0f7b9e2a4927e73b3ae00f22d72cba77360623 /docs/ref | |
| parent | bd3b5e8c2b36633134ab63e5a6af7b5f5839a7c4 (diff) | |
Reverted 'now' template tag documentation changes so it describes the real code implementation regarding (lack of) interaction with L10N machinery. Refs #15263. Thanks danielr for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 3e27daf095..298331faea 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -678,12 +678,9 @@ See :doc:`Custom tag and filter libraries </howto/custom-template-tags>` for mor now ~~~ -Display the current date and/or time, according to the given string. - -Given format can be one of the predefined ones ``DATE_FORMAT``, -``DATETIME_FORMAT``, ``SHORT_DATE_FORMAT`` or ``SHORT_DATETIME_FORMAT``, -or a custom format, same as the :tfilter:`date` filter. Note that predefined -formats may vary depending on the current locale. +Display the current date and/or time, using a format according to the given +string. Such string can contain format specifiers characters as described +in the :tfilter:`date` filter section. Example:: |
