I'm building my form as follow:
$builder->add('taskDate', 'datetime', array(
'required'=>false,
'label'=>'Termin',
'input'=>'datetime',
'widget'=>'single_text',
'attr'=>array('style'=>'max-width: 150px;')
))
And I got this,
2014-02-01T20:00:00+01:00
How can I get "normal" Datetime format like what I have in my SQL database?
In my database it's saved as follow: 2014-02-01 20:00:00
.
So, why do I have T
letter and +01:00
at the end?