Re: I18N Date problem

2009-12-01 Thread Chris Ramsdale
Using the following code snippet I was unable to reproduce your issue:

1. Updated my gwt.xml to include Hungarian locale support:



2. Updated my main .html to set the locale to Hungarian:


3. Tested in both development and production mode using the GWT code sample
found in the javadoc:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/datepicker/client/DatePicker.html

In either mode, the updated values passed in via onValueChange() are
consistent. Are you doing something more complex when retrieving and storing
the updated value? Also, are you noticing this behavior in a particular
browser, or is it happening across the board?


On Wed, Nov 25, 2009 at 11:58 AM, armogur  wrote:

> i just trying this new 2.0 rc1 gwit, and have a problem with the
> handling of the date (it is actually java.util.Date).
>
> using locale hu, with setting it in my Application.gwt.xml and in the
> hosting html.
>
> in my application, which is manages entities, and some entity have
> Date type field, i am selecting the date with datepicker on the
> frontend ui, and when persisting it in development mode everything is
> ok, but when i compile it and deploy it to tomcat, and using this
> application in production mode, the persisted date int the database is
> one day before what is actually i selected in the browser!
> the database in both cases are the same!
>
> could this wrong behaviour is my mistake, or it is the fault of GWT?
> can someone confirm 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 google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




I18N Date problem

2009-11-25 Thread armogur
i just trying this new 2.0 rc1 gwit, and have a problem with the
handling of the date (it is actually java.util.Date).

using locale hu, with setting it in my Application.gwt.xml and in the
hosting html.

in my application, which is manages entities, and some entity have
Date type field, i am selecting the date with datepicker on the
frontend ui, and when persisting it in development mode everything is
ok, but when i compile it and deploy it to tomcat, and using this
application in production mode, the persisted date int the database is
one day before what is actually i selected in the browser!
the database in both cases are the same!

could this wrong behaviour is my mistake, or it is the fault of GWT?
can someone confirm 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.