Changes between Version 3 and Version 7 of Ticket #31948
- Timestamp:
- 08/29/20 19:00:40 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31948
-
Property
Status
changed from
new
toassigned
- Property Cc Aymeric Augustin Josh Smeaton added
-
Property
Summary
changed from
TruncDate Unexpected Behavior
toAdd support for tzinfo parameter to TruncDate() and TruncTime().
- Property Owner changed from nobody to Joe Jackson
-
Property
Version
changed from
3.1
tomaster
- Property Keywords TruncDate removed
- Property Has patch set
-
Property
Type
changed from
Bug
toNew feature
-
Property
Triage Stage
changed from
Unreviewed
toAccepted
-
Property
Status
changed from
-
Ticket #31948 – Description
v3 v7 27 27 === Workaround 28 28 There was a workaround for me. I was able to use TruncDay and then convert the DateTimes returned outside of the database, but I found no way to convert from DateTime to Date in the database. Maybe a Cast would work, but I would expect TruncDate to work. 29 30 === Patch 31 [https://github.com/django/django/pull/13363 PR]