#7672: Add filter for 'Day of week' on Date / DateTime fields
---------------------------------------------+------------------------------
Reporter: rossp | Owner: nobody
Status: new | Milestone: post-1.0
Component: Database wrapper | Version: SVN
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
---------------------------------------------+------------------------------
Comment (by mtredinnick):
@rossp: that sort of analysis is exactly what needed to be done here.
Thanks for taking the time to do the research (if you could find a way to
pass on that diligence to other people wanting database changes, it would
be appreciated). Looks like we can pick ''a'' way for each database that
will return something consistent (e.g. "Sunday" is 1).
Not sure how we find out the Oracle date locale. If it's a client-side
settings, it's something we can control. If it's a server-side setting
(which sounds more likely), it's something we would need to be able to
query. Ian Kelly might be able to help us out there. I can't imagine the
answer would be "it's impossible", though.
Probably still post-1.0, barring miracles or lots of free time, but it's
looking like something that might be possible.
--
Ticket URL: <http://code.djangoproject.com/ticket/7672#comment:4>
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
-~----------~----~----~----~------~----~------~--~---