The issue:
when a java.util.Date is sent via an RPC from another time zone than the server, the date changes on the server due to the server interpreting the long sent via RPC from the client into
its own time zone.
Currently, we pushed in a temp fix with the solution provided in the below link.
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fd7b80de11507908/43363d713487a0f2?lnk=gst&q=date+serialize#43363d713487a0f2
Also, we noticed that there is API in GWT 1.6 with timezone function.
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/TimeZone.html
We pretty sure, we will come up final solution after we upgrade to GWT 1.7
Change History:
Author: Michael Wang, initial draft
No comments:
Post a Comment