Add default date format

This commit is contained in:
Maxime Rault 2015-06-12 17:17:34 +02:00
parent 10fd2513bf
commit b902a5e030

View File

@ -147,4 +147,14 @@ class DB2Grammar extends Grammar
return '';
}
/**
* Get the format for database stored dates.
*
* @return string
*/
public function getDateFormat()
{
return 'Y-m-d H:i:s.u';
}
}