Changes between Version 3 and Version 7 of Ticket #31948


Ignore:
Timestamp:
Aug 29, 2020, 2:00:40 PM (4 years ago)
Author:
Joe Jackson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31948

    • Property Cc Aymeric Augustin Josh Smeaton added
    • Property Keywords TruncDate removed
    • Property Triage Stage UnreviewedAccepted
    • Property Summary TruncDate Unexpected BehaviorAdd support for tzinfo parameter to TruncDate() and TruncTime().
    • Property Type BugNew feature
    • Property Version 3.1master
    • Property Owner changed from nobody to Joe Jackson
    • Property Status newassigned
    • Property Has patch set
  • Ticket #31948 – Description

    v3 v7  
    2727=== Workaround
    2828There 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]
Back to Top