Django

Code

Changeset 5674

Show
Ignore:
Timestamp:
07/12/07 09:11:41 (1 year ago)
Author:
russellm
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/templates.txt

    r5609 r5674  
    951951~~~~ 
    952952 
    953 Formats a date according to the given format (same as the ``now`` tag). 
     953Formats a date according to the given format (same as the `now`_ tag). 
    954954 
    955955default 
     
    11901190~~~~ 
    11911191 
    1192 Formats a time according to the given format (same as the ``now`` tag). 
     1192Formats a time according to the given format (same as the `now`_ tag). 
     1193The time filter will only accept parameters in the format string that relate 
     1194to the time of day, not the date (for obvious reasons). If you need to 
     1195format a date, use the `date`_ filter. 
    11931196 
    11941197timesince