You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/05/27 15:58:20 UTC

[jira] [Assigned] (WICKET-5204) The DateTimeField.onBeforeRender() method does not format the fields correctly.

     [ https://issues.apache.org/jira/browse/WICKET-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-5204:
---------------------------------------

    Assignee: Martin Grigorov
    
> The DateTimeField.onBeforeRender() method does not format the fields correctly.
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-5204
>                 URL: https://issues.apache.org/jira/browse/WICKET-5204
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.5.9, 6.7.0, 6.8.0
>            Reporter: Caleb Powell
>            Assignee: Martin Grigorov
>         Attachments: DateTimeFieldTest.java
>
>
> The current implementation relies on the org.joda.time.MutableDateTime instance to format the date, hours, amOrPm, and minutes fields. Unfortunately, the MutableDateTime constructor is not provided with the client's TimeZone value (assuming it is set). As a result, the joda library uses the JVM's default timezone. If the defaul timezone differs from the client's timezone, the formatted fields may turn out to be incorrect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira