I have a form where I have widget like this:
$this->widgetSchema['valid_to']
= new sfWidgetFormDate(array('format'=>'%day%/%month%/%year%','years'=>range('1990',date('Y')+5)), array());
Unfortunately the date format also caused that it tries to save date with that format into database which of course is bad.
Can anyone tell how to repair this?
Thanks in advance Gabe