#8423: Implement time filters
------------------------------------------------+---------------------------
 Reporter:  gnuvince                            |       Owner:  nobody    
   Status:  new                                 |   Milestone:            
Component:  Database wrapper                    |     Version:  SVN       
 Keywords:  datetime filter hour minute second  |       Stage:  Unreviewed
Has_patch:  1                                   |  
------------------------------------------------+---------------------------
 As of r8442, it is possible to filter a queryset by year, month or day
 using the usual syntax:

 {{{
 Event.objects.filter(start_time__year=2008)
 Article.objects.filter(pub_date__month=11, pub_date__day=3)
 }}}

 However, filters for hours, minutes and seconds were missing.  I have
 added those in a patch for your consideration along with unit tests and
 documentation.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8423>
Django Code <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 [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