You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to add a book it returns me a form validation error.
not shure what was your plan, but currently you submit the date converted to timeformat (example: 1394838000000) and your entity wants a dateFormat which is not compatible by default.
I've tried with setup the formtype: ->add('releaseDate', 'datetime' ,array('date_widget'=> 'single_text', 'date_format'=>'yyyy-MM-dd', 'input'=>'timestamp'))
or ->add('releaseDate', 'datetime' ,array('date_widget'=> 'single_text', 'input'=>'timestamp'))
but this all did'nt work.
Tried even to divide by 1000 in the library.js function addBook #48 which seems to be a correct js-timestamp format to me.
still can't submit a book when releaseDate is filled.
The text was updated successfully, but these errors were encountered:
when trying to add a book it returns me a form validation error.
not shure what was your plan, but currently you submit the date converted to timeformat (example: 1394838000000) and your entity wants a dateFormat which is not compatible by default.
I've tried with setup the formtype:
->add('releaseDate', 'datetime' ,array('date_widget'=> 'single_text', 'date_format'=>'yyyy-MM-dd', 'input'=>'timestamp'))
or
->add('releaseDate', 'datetime' ,array('date_widget'=> 'single_text', 'input'=>'timestamp'))
but this all did'nt work.
Tried even to divide by 1000 in the library.js function addBook #48 which seems to be a correct js-timestamp format to me.
still can't submit a book when releaseDate is filled.
The text was updated successfully, but these errors were encountered: