[Zope] Wrong time displayed on events

Kirk Strauser kirk at daycos.com
Mon Dec 4 19:51:46 EST 2006


On Monday 04 December 2006 12:32, Dieter Maurer wrote:

> It might have to do with how you entered the date.
>
> Watch out this example:
>      >>> DateTime('2006-12-05 13:30:00')
>
>      DateTime('2006/12/05 13:30:00 GMT+1')
>
>      >>> DateTime('2006-12-05T13:30:00')
>
>      DateTime('2006/12/05 13:30:00 GMT+0')
>
> This means that a single character (the "T" above) may
> change the timezone the date is assumed to come from.

Interesting!  However, I entered the date via the widget on the "add an event" 
form - no typing was necessary (or even possible).  That leads me to believe 
that this is a deliberate feature in Plone, or a bug in my installation.
-- 
Kirk Strauser
Daycos


More information about the Zope mailing list