Hello all,

I was testing zopetime() function on 2 diffrent versions of zope servers, both running on different linux machines and i was getting 2 diffrent results:

 <dtml-var expr="ZopeTime().toZone('GMT+1').strftime('%d%m%Y %H:%M:%S - %Z')">


On (Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2)

the result was  :   
28052005 12:15:11 -
PST
which the correct time in GMT+1

While on (Zope 2.7.6-final, python 2.3.5, linux2)
the same code was showing : 
28052005 03:56:07 - PDT
This is not the correct time in GMT+1, but the current time on the server.
What should have gone wrong and how do I solve this.

Thanks.

KAMAL.


Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to