hey guys , I searched in issues but nobody answered my question,
when trying to create some record like this code :
// File : \App\Http\Controller\Auth\RegisterController.php
protected function create(array $data)
{
return Users::create([
'username' => $data['username'],
'email' => $data['email'],
'password' => Hash::make($data['password']),
]);
}
the result is :
"updated_at" : ISODate("2018-04-02T18:26:08Z"),
"created_at" : ISODate("2018-04-02T18:26:08Z")
I just wanna store date format as standard carbon format like this
"2018-03-10 19:22:23"
thanks in advance
Found any solution for this?
Found any solution for this?
Unfortunately no.