Opened 5 years ago
Last modified 5 years ago
#30821 closed New feature
Add "iso_week_day" lookup type to DateField/DateTimeField — at Initial Version
Reported by: | Anatol Ulrich | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | ORM Extract |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
as discussed on the mailing list and 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
Note:
See TracTickets
for help on using tickets.