Hello:

I came across this weird bug where I had code that created a
java.util.Date based on the value returned by the javascript
Date.getTime method.

Example:

Javascript (IE 7, FF 3.5): new Date(2002, 02, 20) is: Wed Mar 20 2002
00:00:00 PDT 2002
Java: new Date(102, 02, 20) is: Wed Mar 20 00:00:00 PST 2002

Note the time zone. This makes the GWT java.util.Date <-> JavaScript
Date interchange via the number of milliseconds since 1970 unreliable.

Any thoughts about this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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