[Setup] Plone Zope Time Zone Confusion.

Campbell, Dan dcampbell at port-orange.org
Tue Mar 20 13:16:46 UTC 2007


I am having a problem with the time that that Plone claims that an
object was edited, NOT matching the time 

Zope, my server and my self know it to be. In my case its off by 4
hours.

 

Plone version overview
Plone 2.5.2, 
CMF-1.6.2, 
Zope (Zope 2.9.6-final, python 2.4.3, win32), 
Five 1.3.8, 
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)], 
PIL 1.1.5

 

I had suspected that this was being caused by this being ran on a
Windows Server, however I am also testing Plone on a Red Hat Linux
server and when I went back to it I noted that I am having the same
problem with Plone here as well. On both servers I have experimented by
changing the time zones via the OS and separately added TZ and the
desired time zone in runzope. It detects the time zone changes in the
OS, but not via TZ. Unlike the situation at
http://www.zettai.net/Forums/04/1061793085 I have "full" control of the
Linux server, and significant control over the Windows 2003 server.

I am using this code to display the time "<div
tal:content="context/ZopeTime">" . It returns this "2007/03/20
09:10:52.939 GMT-4". Is this saying that my time is 9:10 and that it is
GMT-4 or is it saying that it thinks GMT is "9:10" and that my actual
time is (9:10 - 4hours) = 5:10 my time?

 

When I edited a page at "2007/03/20 09:10:52.939 GMT-4" time  Plone
reports "by Dan - last modified 2007-03-20 05:10"


PLEASE NOTE: Florida has a very broad public records law.  Most
written communications to or from City of Port Orange officials and
employees regarding public business are public records available to
the public and media upon request.  Your e-mail communications
may be subject to public disclosure.  Under Florida law, e-mail
addresses are public records. If you do not want your e-mail address
released in response to a public records request, do not send
electronic mail to this entity. Instead, contact this office by phone or
in writing.  The views expressed in this message may not necessarily
reflect those of the City of Port Orange.  If you have received this
message in error, please notify us immediately by replying to this
message, and please delete it from your computer.  Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20070320/deceed78/attachment.html


More information about the Setup mailing list