On 08/21/2012 07:28 PM, Cristian Salamea (Gnuthink) wrote:
> Looks this results in runtime OpenERP debugging with pdb http://dpaste.org/CwcOx/.
> localtime() and gmtime() are the same, how openerp solve this in runtime ?
This is by design, as explained. OpenERP forces the standard Python modules to
act as if the local timezone was UTC. This is the key to implementing proper
datetime computations in server-side in 6.1.
BTW this is not the right question to ask, the right question would be: why do
you want to have a non-UTC time on server-side?! You should never need it if
you respect the rule.
PS: please don't use bug comments for help when you don't understand something,
Launchpad answers or the mailing-lists are better suited
On 08/21/2012 07:28 PM, Cristian Salamea (Gnuthink) wrote: dpaste. org/CwcOx/.
> Looks this results in runtime OpenERP debugging with pdb http://
> localtime() and gmtime() are the same, how openerp solve this in runtime ?
This is by design, as explained. OpenERP forces the standard Python modules to
act as if the local timezone was UTC. This is the key to implementing proper
datetime computations in server-side in 6.1.
BTW this is not the right question to ask, the right question would be: why do
you want to have a non-UTC time on server-side?! You should never need it if
you respect the rule.
PS: please don't use bug comments for help when you don't understand something,
Launchpad answers or the mailing-lists are better suited