Skip to content

Commit

Permalink
Fixed #4522 -- Clarified the allowed filter arguments on the time and…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
freakboy3742 committed Jul 12, 2007
1 parent 53a0676 commit 0f10867
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/templates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~
Expand Down Expand Up @@ -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
~~~~~~~~~
Expand Down

0 comments on commit 0f10867

Please sign in to comment.