Monday, July 21, 2014

Re: DateBox incorrect time past certain dates

I must be missing some piece of information then. Could you please explain to me why it works fine in Dev mode, but does not work in the compiled version? Same browser each time.

In DevMode the real Java Date will be used and thus JVM timezone information (most of your code runs in the JVM when in DevMode). When compiled to JS the JavaScript Date will be used and thus the browser's timezone information.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment