#31640: Trunc() function take tzinfo param into account only when
DateTimeField()
are used as output_field
-------------------------------------+-------------------------------------
Reporter: Serhii Romanov | Owner: David
| Wobrock
Type: Bug | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: trunc timezone tz | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Wobrock):
* cc: David Wobrock (added)
* owner: nobody => David Wobrock
* has_patch: 0 => 1
* status: new => assigned
Comment:
Hi,
I tried to tackle this issue, starting from the what Simon suggested.
Here's the PR with more details about the approach:
https://github.com/django/django/pull/13495
--
Ticket URL: <https://code.djangoproject.com/ticket/31640#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.97a015ef6349ab8af855d373bb1d91fd%40djangoproject.com.