View Full Version : GXT accepts Dates like 2009-16-78 - Bug or feature?

1 Apr 2009, 2:43 AM
I'm using GXT 1.1.3 and GWT 1.5.3

I've discovered that the com.extjs.gxt.ui.client.widget.form.DateField accepts dates like 2009-16-78. If reading the entered Date you will get the value 2010-06-17, so the entered date is "converted" to a real existing date. But is this the disired behaivor? Wouldn't it be better to not accept dates that doesn't exists?

(Yes I know, I should update to gxt 1.2. I made one attempt but my application wasn't working very well. Lots of the behavour were changed..)

2 Apr 2009, 3:27 AM
It seems to be like the leniency of java.util.Calendar, isn't it ?