#29580: Now() database function doesn't respect TIME_ZONE with USE_TZ
-------------------------------------+-------------------------------------
     Reporter:  lobziik              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  postgres,            |             Triage Stage:
  postgresql, time zones, USE_TZ     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 Paraphrasing the documentation you quoted, "The database connection’s time
 zone will be set to TIME_ZONE (if `USE_TZ` is `False`) or UTC (if `USE_TZ`
 is `True`)." This statement matches the implementation of
 `BaseDatabaseWrapper.timezone_name` as far as I see.

 I still don't see a problem.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29580#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.8c1633d4eb4e696897db251dcd7b01c3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to