- Some small bugfixes done

This commit is contained in:
mcndave committed 2023-03-23 14:56:13 +00:00
1 parent fa8adcace1
commit 58bdce0ea8
5 files changed
+28 -9

No files matched your search

+3
View File
@@ -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);
}
}