[Zope] Wrong time displayed on events

Kirk Strauser kirk at daycos.com
Sun Dec 3 13:19:04 EST 2006


I've just installed Plone 2.5.1 on Zope 2.9.6 running on FreeBSD 6-STABLE.
On my newly created Plone site, whenever I add an event, it's displayed
with the wrong time.  For instanced, if I create one that runs between
2006-12-05 19:30 and 22:00, it gets rendered like:

    (<span class="location">Some Event</span>, from
         <abbr class="dtstart" title="2006-12-05 19:30:00">2006-12-05 13:30</abbr> to
         <abbr class="dtend" title="2006-12-05 22:00:00">2006-12-05 16:00</abbr>)

The server and I live in the CST time zone, which accounts for the 6-hour
offset (as though I entered the time in UTC and it's converting it to CST
for display).  But since I never entered a timezone anywhere, why's it
doing any conversion at all instead of just assuming that all times entered
are local to the server?  Is there a way to fix this, other than
deliberately entering all times for events six hours too late, and
letting Plone "fix" the display?
-- 
Kirk Strauser
Daycos


More information about the Zope mailing list