Plone 3.3: DateTime/Timezone Issues

4 messages Options
Embed this post
Permalink
Michael Hierweck () Plone 3.3: DateTime/Timezone Issues
Reply Threaded More More options
Print post
Permalink
Hi,

after upgrading to Plone 3.3 I experienced some datetime/timezone
issues. I was able to reproduce those with a clean Plone instance.

Steps to reproduce:

* Install Zope and Plone 3.3 on a server using "Europe/Berlin" as timezone.

* Login as administrator.

* Add a piece of content, e.g. a document.

* Return to the "view" view

* Compare the date in the author/last modified line (which is exactly +2
 hours) and the history viewlet (which is correct) => first iusse

* Publish the piece of content

* Go to the "edit" view.

* Access the "date" tab. Set the release date (start date) to any time.

* Save

* Check the release date (start date) - it will be shifted about +2
hours. => second issue.


Any hints? Are these deployment issues or bugs?

Michael


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Karl Johan Kleist () Re: Plone 3.3: DateTime/Timezone Issues
Reply Threaded More More options
Print post
Permalink

I cannot reproduce this issue, creating a clean instance in Plone 3.3 / Windows 7. I'm in the same timezone as you.

Michael Hierweck wrote:
after upgrading to Plone 3.3 I experienced some datetime/timezone
issues. I was able to reproduce those with a clean Plone instance.

Steps to reproduce:

* Install Zope and Plone 3.3 on a server using "Europe/Berlin" as timezone.

* Login as administrator.

* Add a piece of content, e.g. a document.

* Return to the "view" view

* Compare the date in the author/last modified line (which is exactly +2
 hours) and the history viewlet (which is correct) => first iusse

* Publish the piece of content

* Go to the "edit" view.

* Access the "date" tab. Set the release date (start date) to any time.

* Save

* Check the release date (start date) - it will be shifted about +2
hours. => second issue.

Any hints? Are these deployment issues or bugs?
Dylan Jay () Re: Plone 3.3: DateTime/Timezone Issues
Reply Threaded More More options
Print post
Permalink
In reply to this post by Michael Hierweck

I'm getting very similar behavior with Plone 3.1.7. The timezone is fixed in the zope.conf to be
+zope-conf-additional =
+    <environment>
+       TZ Australia/Sydney
+    </environment>


We're using this patch to fix the long long long running bug that Australian eastern standard time shouldn't be interpreted as US EST.
http://www.zope.org/Members/TheJester/ZAUTZ/ZAUTZ-0-0-0/ZAUTZ-0-0-0.tgz

What we're seeing is that the modified date in the UI is showing a time 16 hours earlier or GMT-800

where zmi, history viewlet etc shows GMT+1000 (which is closer to actual except its not doing DST)

Anyone else had this pain?

Michael Hierweck wrote:
Hi,

after upgrading to Plone 3.3 I experienced some datetime/timezone
issues. I was able to reproduce those with a clean Plone instance.

Steps to reproduce:

* Install Zope and Plone 3.3 on a server using "Europe/Berlin" as timezone.

* Login as administrator.

* Add a piece of content, e.g. a document.

* Return to the "view" view

* Compare the date in the author/last modified line (which is exactly +2
 hours) and the history viewlet (which is correct) => first iusse

* Publish the piece of content

* Go to the "edit" view.

* Access the "date" tab. Set the release date (start date) to any time.

* Save

* Check the release date (start date) - it will be shifted about +2
hours. => second issue.


Any hints? Are these deployment issues or bugs?

Michael


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
Plone-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users
TimmyGee () Re: Plone 3.3: DateTime/Timezone Issues
Reply Threaded More More options
Print post
Permalink
Many times!

Zope does not seem to be very friendly to Australian locales.

Here's a fix we implemented that works. Plus it will also change
automatically for daylight savings.

Instead of TZ Australia/Sydney, try:

TZ AEST-10AEDT-11,M10.5.0,M3.5.0

(Determined from instructions in http://www.tutorialspoint.com/python/time_tzset.htm)

Perhaps one day we'll see a fix for the bug (sigh)

Tim

On Oct 29, 10:45 pm, Dylan Jay <[hidden email]> wrote:

> I'm getting very similar behavior with Plone 3.1.7. The timezone is fixed in
> the zope.conf to be
> +zope-conf-additional =
> +    <environment>
> +       TZ Australia/Sydney
> +    </environment>
>
> We're using this patch to fix the long long long running bug that Australian
> eastern standard time shouldn't be interpreted as US EST.http://www.zope.org/Members/TheJester/ZAUTZ/ZAUTZ-0-0-0/ZAUTZ-0-0-0.tgz
>
> What we're seeing is that the modified date in the UI is showing a time 16
> hours earlier or GMT-800
>
> where zmi, history viewlet etc shows GMT+1000 (which is closer to actual
> except its not doing DST)
>
> Anyone else had this pain?
>
>
>
> Michael Hierweck wrote:
>
> > Hi,
>
> > after upgrading to Plone 3.3 I experienced some datetime/timezone
> > issues. I was able to reproduce those with a clean Plone instance.
>
> > Steps to reproduce:
>
> > * Install Zope and Plone 3.3 on a server using "Europe/Berlin" as
> > timezone.
>
> > * Login as administrator.
>
> > * Add a piece of content, e.g. a document.
>
> > * Return to the "view" view
>
> > * Compare the date in the author/last modified line (which is exactly +2
> >  hours) and the history viewlet (which is correct) => first iusse
>
> > * Publish the piece of content
>
> > * Go to the "edit" view.
>
> > * Access the "date" tab. Set the release date (start date) to any time.
>
> > * Save
>
> > * Check the release date (start date) - it will be shifted about +2
> > hours. => second issue.
>
> > Any hints? Are these deployment issues or bugs?
>
> > Michael
>
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day
> > trial. Simplify your report design, integration and deployment - and focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Plone-Users mailing list
> > [hidden email]
> >https://lists.sourceforge.net/lists/listinfo/plone-users
>
> --
> View this message in context:http://n2.nabble.com/Plone-3-3-DateTime-Timezone-Issues-tp3543374p391...
> Sent from the General Questions mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!http://p.sf.net/sfu/devconference
> _______________________________________________
> Plone-Users mailing list
> [hidden email]://lists.sourceforge.net/lists/listinfo/plone-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users