are specifying the sweden local? I would assume it is, but that would
be my first assumption I'd check.
Also, the stock timezone.properties file only goes back to 1970 (not
your current problem, but potentially useful to someone else).
On Sep 30, 10:06 am, sterning81 <sternin...@gmail.com> wrote:
> 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 usinghttp://127.0.0.1:8888/WebApp.jspandhttp://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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment