I am trying to retrun created_at
datetime from users table in JSON response in Laravel.
In my databaes it show the value as 2016-07-18 00:00:00
but when I try to return in JSON api it converts into
{
date: "2016-07-18 00:00:00.000000",
timezone_type: 3,
timezone: "UTC"
}
How can I fix this problem.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2pBnj9u
via IFTTT
Aucun commentaire:
Enregistrer un commentaire