Hi all,
I just noticed a strange bug using a sfWidgetFormJQueryDate, when I
tried to select the 2010-12-31, it just doesn't pass...
My code :
$this->widgetSchema['birth'] = new sfWidgetFormJQueryDate(array(
'image' => image_path('/pwCorePlugin/images/calendar.gif'),
'config' => '{}',
'culture' => 'fr_FR',
'date_widget' => new sfWidgetFormDate(array(
'format' => '%day%.%month%.%year%',
'years' => range(1900, 2010)
)),
));
And my validator :
$this->validatorSchema['birth'] = new sfValidatorDate(array('required'
=> false));
Then, I tried to select 2010-03-31, and other #31, but ... always
failed.
Did you notice the same thing ?
My class version : revision 24548, 2009-11-30
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en