Fixed #4522 -- Clarified the allowed filter arguments on the time and date filters. Thanks for the suggestion, admackin@gmail.com.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2007-07-12 14:11:41 +00:00
parent 53a06763c5
commit 0f10867519
1 changed files with 5 additions and 2 deletions

View File

@ -950,7 +950,7 @@ Removes all values of arg from the given string.
date
~~~~
Formats a date according to the given format (same as the ``now`` tag).
Formats a date according to the given format (same as the `now`_ tag).
default
~~~~~~~
@ -1189,7 +1189,10 @@ Strips all [X]HTML tags.
time
~~~~
Formats a time according to the given format (same as the ``now`` tag).
Formats a time according to the given format (same as the `now`_ tag).
The time filter will only accept parameters in the format string that relate
to the time of day, not the date (for obvious reasons). If you need to
format a date, use the `date`_ filter.
timesince
~~~~~~~~~