Is there any way to change the returning date format on a Webservice built with FOSRestBundle in Symfony2?
For example, this is my actual return:
{"id":9,"nome":"Guilherme","rg":"0000000000","cpf":"000.000.000-00","nascimento":"1989-06-24T00:00:00+0200","genero":"M"}
I want to change to this:
{"id":9,"nome":"Guilherme","rg":"0000000000","cpf":"000.000.000-00","nascimento":"1989-06-24","genero":"M"}
Thanks.