Commit 9096abe1 authored by Remi Collin's avatar Remi Collin

Change Model::getDateFormat() to public

parent 2a7ea3be
......@@ -101,7 +101,7 @@ abstract class Model extends BaseModel
/**
* @inheritdoc
*/
protected function getDateFormat()
public function getDateFormat()
{
return $this->dateFormat ?: 'Y-m-d H:i:s';
}
......
......@@ -65,7 +65,7 @@ class User extends Eloquent implements AuthenticatableContract, CanResetPassword
return $this->embedsOne('User');
}
protected function getDateFormat()
public function getDateFormat()
{
return 'l jS \of F Y h:i:s A';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment