Hi,
My Events are all 1 hour earlier.
So I tried this
Python 2.3.5 (#1, May 24 2006, 18:46:23)
[GCC 4.1.0 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.timezone
-3600
>>> from DateTime import DateTime
>>> DateTime()
DateTime('2006/06/16 16:06:05.142 GMT+2')
>>> import os
>>> os.environ['TZ']='Europe/Berlin'
>>> time.tzse()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'tzse'
>>> time.tzset()
>>> time.timezone
-3600
>>> DateTime()
DateTime('2006/06/16 16:07:50.290 GMT+2')
>>>
Seems to work.
I put TZ=Europe/Berlin to .bashrc and restarted zenoss, but time is 1
hour off.
Thanks Sven
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users