I had a similar issue with times. My input was sending the time with the timezone and on the database I was saving it as a datetime (without the timezone).
Check the data type you are currently sending on your request, and how do you store it on the database. If you are using doctrine the datetime field with timezone is called *datetimetz*. Albert On Tuesday, September 13, 2016 at 6:47:01 PM UTC+1, Aline Macena wrote: > > Hi, > > > I cried a Admin Class in Sonata. It´s have a datetime field defined as > sonata_type_datetime_picker in configureFormFields. > When the user input the following time: *1:00 PM* and the system are > recording as *4:00 PM*. > How can I do to make the system save *1:00 PM*, please? > > > Thank you, > Aline. > -- You received this message because you are subscribed to the Google Groups "sonata-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sonata-users. For more options, visit https://groups.google.com/d/optout.
