Django time zone support is wrong (but, I'm sure there is some thing I miss)
I SET time to America/Los_Angeles with SERVER(UBUNTU), mysql, and django too.
And the server is Oregon and I am in CA. As I know, there is no time difference.
I printed all of time with php, mysql, and django too.
all results are PST!
However, I get date from server. It's totally different. (-7 hours from the DB's date)
If turned off TZ support in settings.py, the django print exactly same date and time form DB
I searched 3 hours with no luck :(
what should I check more or change?
Thanks in advance :)
======================================================== ;UPDATE
Django assumed DB as UDT time. then force calculate to location time as -7 PDT
(HAVE TO) Insert through Django with timezone.now() Then Solved !! :)