QuerySet .dates() method should support "hour" and "minute"
|Reported by:||Ulrich Petri||Owned by:||Aymeric Augustin|
|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)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|