1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 06:07:39 +02:00
This commit is contained in:
David Grudl
2018-04-06 03:44:14 +02:00
parent cf0129a194
commit 3050aebb48

View File

@@ -11,7 +11,7 @@ $conn->loadFile(__DIR__ . "/data/$config[system].sql");
$res = $conn->query('SELECT * FROM [customers]');
// 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([
'customer_id' => new Dibi\DateTime('1970-01-01 01:00:01'),