I guess i found a problem with the datepicker component.
At the current actual smartgwt showcase (2.4)
At the section form controls
http://www.smartclient.com/smartgwt/showcase/#form_controls_various
If you click on the datepicker component and select the date 2003-10-19 it will show the date 2003-10-18 on selection.
I have another component on my application that when you type the date 2003-10-19 it shows the validation problem “Invalid date”. I guess that should be the same underling problem.
I have reproduced the problem with Google Chrome, Mozilla Firefox 3.6 and
Mozilla Firefox 4. Language settings are pt_br.
Is this really a bug? Is there any work arround?
Are you talking about an instance of the Showcase you’re running privately with your own language settings and perhaps DateUtil customizations? Because you could create this effect with various bad settings (like mismatched formatter and input).
I am talking about the instance of Showcase deployed on smartclient website
http://www.smartclient.com/smartgwt/showcase/#form_controls_various
In this instance the problem typing the date does not happen, just when the date is selected on the picker.
The validation problem when typing the date happens only in my instance but i am guessing that the solution for booth questions is the same.
Which specific picker (there are 5)?
What timezone are you in?
On the Date Controls group
The problem occours on all pickers that has the calendar icon to choose.
For instance, the first control (the one with combos) if you select the date on the combos it works fine, but if you click the small calendar icon on the right and choose 2003-10-19 it selects 2003-10-18.
This same behavior happens for all pickers selected by this calendar ( I have tested them all).
I am currently in Brazil GMT -3:00
I test this behavior on Linux and windows machines
We found the problem - it was related to daylight savings time changing at midnight on Nov 18 2003 for Brazil. Please verify the fix in the latest nightly (http://smartclient.com/builds).