wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Gravener (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WICKET-1314) DateTimeField does not correct the timezone properly
Date Wed, 03 Dec 2008 04:08:44 GMT

    [ https://issues.apache.org/jira/browse/WICKET-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652674#action_12652674
] 

Ryan Gravener commented on WICKET-1314:
---------------------------------------

If your server is EST and the client is PST, it will convert server time-> local time when
data is displayed to the user and local time-> server time when the user posts data.  In
order to test this, you need two operating systems running.  Change the timezone on each and
run the server on one, and use your browser on the other.  Also make sure you gather extended
browser information http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/settings/IRequestCycleSettings.html

> DateTimeField does not correct the timezone properly
> ----------------------------------------------------
>
>                 Key: WICKET-1314
>                 URL: https://issues.apache.org/jira/browse/WICKET-1314
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.4, 1.4-M3
>            Reporter: Ryan Gravener
>             Fix For: 1.3.6, 1.4-RC2
>
>         Attachments: DATETIMEFIELD.TXT, dtf.patch
>
>
> The DateTimeField has a DateTextField which uses a styledateconverter with timezone correction
set to true which is not needed since the DateTimeField accounts for the TimeZone correction.
 Another problem is that the DateTimeField only sets the timezone of the date (from local->client),
causing the date to be corrected to the local time.  This should instead cause the local time
to reflect that of the clients time.   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message