#35267: DateTimeField does not seem to be translated back to the local timezone 
on
data retrieval on Postgres
-------------------------------------+-------------------------------------
     Reporter:  Josh Smeaton         |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  Database layer       |                  Version:  5.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  orm datetimefield    |             Triage Stage:
  timezones                          |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Josh Smeaton):

 Thank you!

 I think the docs are ambiguous. It sounds like the configured time zone
 will be used for the connection from the docs I linked, but in practice
 the connection uses UTC unless a query is executed on the session? Or is
 there another connection parameter that controls the session timezone?

 Might be worth a docs update to clarify the current behaviour?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35267#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e09678c3c-e9f99f20-cf01-416e-a913-fc6bc3cf896f-000000%40eu-central-1.amazonses.com.

Reply via email to