I use a date input widget, which is configured as below: $this->widgetSchema['birth_date'] = new sfWidgetFormDate(array( 'format' => '%day%-%month%-%year%', 'years' => range(date('Y') - 15, date('Y') - 4) ));
My validator is configured as below: $this->validatorSchema['birth_date'] = new sfValidatorDate(array(), array( 'required' => 'Er is geen geboortedatum geselecteerd.', 'invalid' => 'De geboortedatum is ongeldig.' )); The problem is, when I select the date 22 may 1995, it says the birth_date is invalid. When I select another date, the form is processed, but the database value is "0001-05-22". I don't know what is wrong... somebody?
-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.