Time is different in openerp interface and postgresql database! I want display the value stored in postgresql to my openerp interface. How can i do that?
I have a datetime field in my openerp. I'm inserting values through web service into the postgresql database.
Datetime values in the database is correct, but in the openerp interface it shows different.
How can i solve the issue? I tried my ways, but no use.
That is a intended behavior. Datetime stored in postgres will be in UTC format and datetime shown in web interface will be based on current logged in user browser's timezone. By this way that the datetime will stays consistent in db for all user's. You can change the user timezone to UTC in order get the same result.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/2/15, 8:01 AM|
|Seen: 602 times|
|Last updated: 7/25/15, 12:34 AM|