Author: russellm
Date: 2007-07-12 09:11:41 -0500 (Thu, 12 Jul 2007)
New Revision: 5674

Modified:
   django/trunk/docs/templates.txt
Log:
Fixed #4522 -- Clarified the allowed filter arguments on the time and date 
filters. Thanks for the suggestion, [EMAIL PROTECTED]


Modified: django/trunk/docs/templates.txt
===================================================================
--- django/trunk/docs/templates.txt     2007-07-12 14:05:16 UTC (rev 5673)
+++ django/trunk/docs/templates.txt     2007-07-12 14:11:41 UTC (rev 5674)
@@ -950,7 +950,7 @@
 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 @@
 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
 ~~~~~~~~~


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to