mirror of
https://github.com/dg/dibi.git
synced 2025-08-07 14:46:50 +02:00
BIG REFACTORING!
* DibiDriver -> DibiConnection
This commit is contained in:
@@ -46,10 +46,7 @@ class MyDateTime implements DibiVariableInterface
|
||||
*/
|
||||
public function toSQL($driver, $modifier = NULL)
|
||||
{
|
||||
return date(
|
||||
$driver->formats['datetime'], // format according to driver's spec.
|
||||
$this->time
|
||||
);
|
||||
return $driver->format($this->time, dibi::FIELD_DATETIME); // format according to driver's spec.
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user