#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 rossp):
Malcolm, thanks for the positive feedback. No point trying to make a
change like this unless it works (and, indeed, works consistently) across
all of the officially supported database systems.
Current Status:
* Settled on Sunday=1, Saturday=6. IMO this is the only logical option
after reviewing the above table, and regardless of an individuals locale
settings it's at least consistent within the API.
* Works in Postgres & MySQL
* Sort-of works in SQLite, working on that (I'm having other unrelated
SQLite issues locally)
I will attempt contacting Ian Kelly re: Oracle. Latest patch is attached.
--
Ticket URL: <http://code.djangoproject.com/ticket/7672#comment:5>
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
-~----------~----~----~----~------~----~------~--~---