Hi,

I use a birthday date field in a form, displayed widget option = text .
I want my texfield to display the date like this ex : 31/12/2010 (with 4 
digit for the year)
But I can't manage to find the way to make it since the widget can handle 
only IntlDateFormatter and the short one is 31/12/10...
$builder->add('birthday', 'birthday', array('widget' => 'text', 'format' => 
\IntlDateFormatter::SHORT));

Does someone know how to handle that ? What can I do ?

Thks

-- 
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 symfony-users@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

Reply via email to