Time Zone question
maybe dumb question? How do I get zope to operate with local time zone? I see at start up I get two time zones, GMT and local, as follows: 2001-12-18T03:29:54 INFO(0) ZServer HTTP server started at Tue Dec 18 14:29:54 2001 When adding anything, "Last modified" records in GMT. This is confusing our developers, and me, since everything seems to be done at some ungodly hour in the middle of the night. PS. I've tried setting TZ in the startup script. cheers Graham
If you really want to change this, change the log_time function in zLog.py to use localtime instead of gmtime. Florent Graham King <Graham.King@team.ozemail.com.au> wrote:
maybe dumb question?
How do I get zope to operate with local time zone?
I see at start up I get two time zones, GMT and local, as follows:
2001-12-18T03:29:54 INFO(0) ZServer HTTP server started at Tue Dec 18 14:29:54 2001
When adding anything, "Last modified" records in GMT. This is confusing our developers, and me, since everything seems to be done at some ungodly hour in the middle of the night.
PS. I've tried setting TZ in the startup script. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com
participants (2)
-
Florent Guillaume -
Graham King