[Zope] DateTime Problem

Dean Grubb dean@atrium-online.com.au
Thu, 25 Jul 2002 16:25:41 +1000 (Tasmania Standard Time)


Hi,

I'm having problems with the date on zope...

I have two system both running zope 2.3.2, one is running on a debian server
the other is running on windows 2000, the debian zope incorrectly shows the
timezone as US/Eastern where the windows zope shows it as GMT+10 (correct),
which is not a big problem. The problem is when I do;

(real time = 2002/07/25 13:24:01)

<dtml-var expr="ZopeTime().strftime('%A, %d %B %Y')"> shows Wednesday, 24
July 2002

<dtml-var expr="ZopeTime().toZone('GMT+1000').strftime('%A, %d %B %Y')">
shows Thursday, 25 July 2002

doing a

<dtml-var "_.DateTime('GMT')"> shows 2002/07/25 03:24:01 ten hours behind

sure I could use the toZone function all the time but there must be an easy
fix? Why does the debian zope think it's 10 hours behind, the date on the
server is correct.

is it a configuration setting somewhere?

Dean.