#30821: Add "iso_week_day" lookup type to DateField/DateTimeField
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
spookyvision |
Type: | Status: new
Uncategorized |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords: ORM Extract
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
as [https://groups.google.com/forum/#!topic/django-developers/pLS-eKhJBwE
discussed on the mailing list] and
[https://docs.djangoproject.com/en/2.2/ref/models/database-
functions/#extract mentioned by the documentation]: Django's `week_day` is
unusual in that Monday=2.
Rectify this by adding `iso_week_day` with Monday=1 through Sunday=7.
I have checked "has patch" because I have implemented this feature already
and will create a PR
--
Ticket URL: <https://code.djangoproject.com/ticket/30821>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/055.c48ca32a5fbcab4e72f0a3dc00150c8a%40djangoproject.com.