Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed obsolete 'date' filter -> 'now' tag link.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 248b1dea3dbb62354261f6f77f964f651557d369 1 parent 8a8c0ed
Ramiro Morales authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  docs/ref/templates/builtins.txt
10  docs/ref/templates/builtins.txt
@@ -1151,17 +1151,17 @@ If ``value`` is a ``datetime`` object (e.g., the result of
1151 1151
 ``datetime.datetime.now()``), the output will be the string
1152 1152
 ``'Wed 09 Jan 2008'``.
1153 1153
 
1154  
-Given format can be one of the predefined ones ``DATE_FORMAT``,
1155  
-``DATETIME_FORMAT``, ``SHORT_DATE_FORMAT`` or ``SHORT_DATETIME_FORMAT``,
1156  
-or a custom format, same as the :ttag:`now` tag. Note that predefined formats
1157  
-may vary depending on the current locale.
  1154
+The format passed can be one of the predefined ones ``DATE_FORMAT``,
  1155
+``DATETIME_FORMAT``, ``SHORT_DATE_FORMAT`` or ``SHORT_DATETIME_FORMAT``, or a
  1156
+custom format that uses the format specifiers shown in the table above. Note
  1157
+that predefined formats may vary depending on the current locale.
1158 1158
 
1159 1159
 Assuming that :setting:`USE_L10N` is ``True`` and :setting:`LANGUAGE_CODE` is,
1160 1160
 for example, ``"es"``, then for::
1161 1161
 
1162 1162
     {{ value|date:"SHORT_DATE_FORMAT" }}
1163 1163
 
1164  
-the output will be the string ``"09/01/2008"`` (The ``"SHORT_DATE_FORMAT"``
  1164
+the output would be the string ``"09/01/2008"`` (the ``"SHORT_DATE_FORMAT"``
1165 1165
 format specifier for the ``es`` locale as shipped with Django is ``"d/m/Y"``).
1166 1166
 
1167 1167
 When used without a format string::

0 notes on commit 248b1de

Please sign in to comment.
Something went wrong with that request. Please try again.