Date form control handles timezones incorrectly
-----------------------------------------------

                 Key: MAGNOLIA-3550
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3550
             Project: Magnolia
          Issue Type: Bug
          Components: admininterface
    Affects Versions: 4.2.2
         Environment: tested on ubuntu/jboss - presume it occurs on all 
environments. 
            Reporter: Toby O'Rourke
            Assignee: Philipp Bärfuss


When the author is running in UTC but the editor's local machine is running in 
a different timezone (I chose GST which is UTC+4 for my testing) the Date 
control will use the time from the local machine, but this will be persisted as 
UTC. 

This means I might choose a date/time of 12:00 11-02-2011 which will be 
persisted as 11-02-2011T12:00:00Z. When I next view the content on the local 
machine I will see the date/time is 12:00 10-02-2011, as I intended. However, 
because this is now UTC and not GST it is actually 4 hours later than I 
intended. If I am using the Date control to set startDate in order to delay the 
activation of content, that content will be activated 4 hours after the 
intended activation time. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to