phiamo/MopaBootstrapBundle — pull request #944 by paulandrieux (2014-09-25 22:27:07+00:00)
Title: In datetime_widget in 'datetimepicker' mode, display date if it has value

If I configure a field as:

->add('createdAt', null, array(
'required' => 'required',
'widget' => "single_text",
'format' => "yyyy-MM-dd HH:mm",
'datetimepicker' => true
));

It is allright in creation mode. But in edit the value of my field createdAt was not displayed. This fix is about to show the initial value.