#8424: 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,
However, filters for hours, minutes and seconds were missing. I have
added those into a patch for your consideration along with unit tests and
documentation.
{{{
Meeting.objects.filter(meeting_time__hour=12)
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/8424>
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
-~----------~----~----~----~------~----~------~--~---