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