Changes between Version 3 and Version 7 of Ticket #31948
- Timestamp:
- Aug 29, 2020, 2:00:40 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31948
- Property Cc added
- Property Keywords TruncDate removed
- Property Triage Stage Unreviewed → Accepted
- Property Summary TruncDate Unexpected Behavior → Add support for tzinfo parameter to TruncDate() and TruncTime().
- Property Type Bug → New feature
- Property Version 3.1 → master
- Property Owner changed from to
- Property Status new → assigned
- Property Has patch set
-
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]