[Zope] How to change the time zone for Zope?

iap@y2fun.com iap@y2fun.com
Mon, 28 Jan 2002 11:21:53 +0800


a quick-and-dirty solution:
translate the timezone when you need it.
for example <dtml-var "bobobase_modification_time().toZone('gmt+8')">
gmt+8 is the timezope of Taipei, right?

Or you can find document in the installation folder about how to change 
the timezone for a zope installation, I think. There is a "locale" flag 
for the start up script. I didn't try, but it seems to be a hint.

Iap, Singuan

----- Original Message ----- 
From: "Terry" <terry@taipeitimes.com>
To: <zope@zope.org>
Sent: Monday, January 28, 2002 11:10 AM
Subject: [Zope] How to change the time zone for Zope?


> Hello friends,
> 
> I have Zope 2.4.2 installed from debian deb file.
> 
> The local time is "2002-01-27 11:05 CST" then I modified a Dtml method & 
> saved, but on Zope the Dtml method's modified time is " 2002-01-27 21:05"
> How to set up the time zone on Zope ?
> 
> Thanks in advance
> 
> Terry
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>