QuerySet .dates() method should support "hour" and "minute"
|Reported by:||UloPe||Owned by:||aaugustin|
|Component:||Database layer (models, ORM)||Version:||1.2|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently QuerySet.dates() only accepts "year", "month" and "day" as values for the kind parameter. It should also accept "hour" and "minute".
I've attached a patch which adds this capability. (Includes tests and docs)
Change History (9)
Changed 6 years ago by UloPe
comment:1 Changed 5 years ago by glassresistor
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed