> this don't solve completely problems about having different > formats, for example if you set date format as 'yyyy-dd-mm', > then you got "key" dates parsed by TimeUtil.parseDate, but > with wrong day and month.
Hi Sergio, I am just working on this problem. I will write out the key values in the proper format! Give me some time! On the other hand you are right. saveParseDate is too tolerant - unparsable dates are parsed with wrong values. I think we should restrict it more than you do. If date parsing gives an exception we should return null. But let me do some tests what's happening if you give a format string like "dd.mm.yyyy" and fill in a value of "12.". I expected that then the 12. of the current month and year is returned - so are the unit tests. Please be patient - i am heavy at work.... Regards, Henner ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms