Add default date format
This commit is contained in:
parent
10fd2513bf
commit
b902a5e030
@ -147,4 +147,14 @@ class DB2Grammar extends Grammar
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the format for database stored dates.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getDateFormat()
|
||||||
|
{
|
||||||
|
return 'Y-m-d H:i:s.u';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user