1
0
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:
David Grudl
2007-11-12 06:41:59 +00:00
parent ea00d5d37d
commit 22c27f678a
16 changed files with 1052 additions and 1335 deletions

View File

@@ -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.
}