Opened 5 years ago
Last modified 5 years ago
#30821 closed New feature
Add "iso_week_day" lookup type to DateField/DateTimeField — at Version 3
Reported by: | Anatol Ulrich | Owned by: | Anatol Ulrich |
---|---|---|---|
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 (last modified by )
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.
Change History (3)
comment:1 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
tests/timezones/tests.py
tests pass under PostgreSQL, Oracle, SQLite, and MySQL.