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 0189940 commit bd673d2Copy full SHA for bd673d2
src/Builders/ModelBuilder.php
@@ -259,7 +259,7 @@ public function set' . $camel . 'Attribute($input)
259
*/
260
public function get' . $camel . 'Attribute($input)
261
{
262
- if($input != \'\') {
+ if($input != \'0000-00-00\') {
263
return Carbon::createFromFormat(\'Y-m-d\', $input)->format(config(\'quickadmin.date_format\'));
264
}else{
265
return \'\';
0 commit comments