#9065: timesince filter not calculating difference between two dates
-----------------------------------------+----------------------------------
 Reporter:  rcornish                     |       Owner:  nobody    
   Status:  new                          |   Milestone:  post-1.0  
Component:  Template system              |     Version:  1.0       
 Keywords:  template, filter, timesince  |       Stage:  Unreviewed
Has_patch:  0                            |  
-----------------------------------------+----------------------------------
 My template code is:

 {% with publication.list|last as oldest %}
 {% with publication.list|first as newest %}

 {{ newest.date|timesince:oldest.date }}

 {% endwith %}{% endwith %}

 It calculated the dates between the newest and oldest entries. It worked
 before 1.0, and now it doesn't. {{ newest.date}} and {{ oldest.date }} by
 themselves both return dates. Help. :(

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9065>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
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