I'm using gwt-incubator jar (rev 1747, date Thur, 4 Feb 2010) and came
across a bug in the com.google.gwt.gen2.picker.client.DateTimePicker's
getDate() method.  The Date returned is always one day (24hrs) later
than what I pick.  If I pick Sept 22nd, I get Sept 23rd.  If I pick
Sept 30th, getDate() returns Oct 1st. This is true whether or not the
time is AM or PM.

My solution, naturally, is to dueDate.setDate(dueDate.getDate()-1) on
the Date object returned.

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

Reply via email to