mirror of
https://github.com/dg/dibi.git
synced 2025-08-08 15:16:58 +02:00
typo
This commit is contained in:
@@ -11,7 +11,7 @@ $conn->loadFile(__DIR__ . "/data/$config[system].sql");
|
|||||||
$res = $conn->query('SELECT * FROM [customers]');
|
$res = $conn->query('SELECT * FROM [customers]');
|
||||||
|
|
||||||
// auto-converts this column to integer
|
// auto-converts this column to integer
|
||||||
$res->setType('customer_id', Dibi\Type::DATETIME, 'H:i j.n.Y');
|
$res->setType('customer_id', Dibi\Type::DATETIME);
|
||||||
|
|
||||||
Assert::equal(new Dibi\Row([
|
Assert::equal(new Dibi\Row([
|
||||||
'customer_id' => new Dibi\DateTime('1970-01-01 01:00:01'),
|
'customer_id' => new Dibi\DateTime('1970-01-01 01:00:01'),
|
||||||
|
Reference in New Issue
Block a user