mercredi 31 janvier 2018

Laravel 4 Carbon trailing data error

I am getting the following error when retrieving a timestamp field from my database and converting it to json for response.

InvalidArgumentException Trailing data

the table has a created_at field which is a postgres timestampz field i.e timestamp with timezone I guess.

and even if I access the field via $column->created_at

it's throwing that error.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire