- Some small bugfixes done
This commit is contained in:
1 parent
fa8adcace1
commit
58bdce0ea8
5 files changed
+28
-9
No files matched your search
@@ -193,5 +193,8 @@ class SQLite implements AdapterInterface {
|
||||
|
||||
return (int) in_array($string, explode(',', $string_list));
|
||||
}, 2);
|
||||
$pdo->sqliteCreateFunction('day', fn($date) => ( new \DateTime($date) )->format('d'), 1);
|
||||
$pdo->sqliteCreateFunction('month', fn($date) => ( new \DateTime($date) )->format('m'), 1);
|
||||
$pdo->sqliteCreateFunction('year', fn($date) => ( new \DateTime($date) )->format('Y'), 1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user