[zope2-tracker] [Bug 501805] [NEW] TZ environment variable doesn't work when using runzope.py

Dylan Jay launchpad at dylanjay.com
Wed Dec 30 21:39:09 EST 2009


Public bug reported:

Put the following in buildout

[instance]
recipe = plone.recipe.zope2instance
...
environment-vars =
#http://docs.python.org/library/time.html : std offset [dst [offset [,start[/time], end[/time]]]]
   TZ AEST-10AEDT-11,M10.5.0,M3.5.0

Then run

$ bin/instance console

and in a python script run

>>> print DateTime().timezone()
GMT+1100

which is correct.

$ parts/instance/bin/runzope 
and in a python script run

>>> print DateTime().timezone()
US/Eastern

which is incorrect.

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
TZ environment variable doesn't work when using runzope.py
https://bugs.launchpad.net/bugs/501805
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list