I'm using a DateBox where the user enters a date in the form yyyyMMdd
(ex. 19680716 or 20100930). I've specified locale sv in the gwt.xml-
file. (In Sweden (sv), daylight saving time was not used before 1980.)

I get different behaviours when accessing the application using
http://127.0.0.1:8888/WebApp.jsp and 
http://127.0.0.1:8888/WebApp.jsp?gwt.codesvr=127.0.0.1:9997.
In the latter (debug mode?) everything works fine, but when accessing
using the first url (normal mode?), the dates are different.


In "debug mode":
19790212  -->  Mon Feb 12  00:00:00 CET 1979 /
1979-02-12T00:00:00.000+0100
19790713  -->  Fri Jul 13      00:00:00 CET 1979 /
1979-07-13T00:00:00.000+0100
19800212  -->  Tue Feb 12   00:00:00 CET 1980 /
1980-02-12T00:00:00.000+0100
19800713  -->  Sun Jul 13    00:00:00 CEST 1980 /
1980-07-13T00:00:00.000+0200

In "normal mode":

19790212  -->  Mon Feb 12  00:00:00 CET 1979 /
1979-02-12T00:00:00.000+0100
19790713  -->  Thu Jul 12    23:00:00 CET 1979 /
1979-07-12T23:00:00.000+0100
19800212  -->  Tue Feb 12   00:00:00 CET 1980 /
1980-02-12T00:00:00.000+0100
19800713  -->  Sun Jul 13    00:00:00 CEST 1980 /
1980-07-13T00:00:00.000+0200

Notice how the 19790713 date is handled different.

Bug?

-- 
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.

Reply via email to