Code was working well before symfony update. Code includes time fileds in form with timezone settings.
$builder
->add('timeTo','time',array(
'model_timezone'=>'UTC',
'view_timezone'=>$options['user_timezone']
))
After updating symfony via composer from version 2.5.5 to 2.6.1, suddnetly i'll get Error 500 with message:
"The options "model_timezone", "view_timezone" do not exist. Known options are: ...(and so on)"
Documentation shows that model_timezone and view_timezone are not deprecated options for datetime form field in version 2.6.
What happened and how to fix it ?