On Wednesday, July 4, 2012 3:17:42 AM UTC+2, Joseph Lust wrote:
>
> This question comes up so often that it ought to be a priority for GWT 
> 2.6. Perhaps a module setting to for TZ safe date serialization?


If the timezone matters to you, you can simply send it along with the date 
(timestamp). The fact is a java.util.Date is not enough, as the timezone is 
the one of the JVM; I bet you'd have the same behavior with Java 
serialization and/or RMI.

The issue is Java's standard lib, not GWT. JSR 310 aims at fixing it 
(highly inspired from JodaTime), but is not ready yet 
(http://threeten.sf.net)
See http://code.google.com/p/google-web-toolkit/issues/detail?id=603

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Uk0BOMsGV9UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to