We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7ea3b commit 9096abeCopy full SHA for 9096abe
src/Jenssegers/Mongodb/Eloquent/Model.php
@@ -101,7 +101,7 @@ protected function asDateTime($value)
101
/**
102
* @inheritdoc
103
*/
104
- protected function getDateFormat()
+ public function getDateFormat()
105
{
106
return $this->dateFormat ?: 'Y-m-d H:i:s';
107
}
tests/models/User.php
@@ -65,7 +65,7 @@ public function father()
65
return $this->embedsOne('User');
66
67
68
69
70
return 'l jS \of F Y h:i:s A';
71
0 commit comments