aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_driver.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-18 20:00:37 +0000
committerMario <mario@mariovavti.com>2020-01-18 20:00:37 +0000
commitcbaf4b7536c0b056bc8079aa39b24f2e2c312dd6 (patch)
treeb10938381e680a0b6df23415275c1838465af60c /include/dba/dba_driver.php
parent570d84c031d9cdf0e16aa79bc4a7a111345cc3f3 (diff)
downloadvolse-hubzilla-cbaf4b7536c0b056bc8079aa39b24f2e2c312dd6.tar.gz
volse-hubzilla-cbaf4b7536c0b056bc8079aa39b24f2e2c312dd6.tar.bz2
volse-hubzilla-cbaf4b7536c0b056bc8079aa39b24f2e2c312dd6.zip
introduce db_str_to_date()
Diffstat (limited to 'include/dba/dba_driver.php')
-rwxr-xr-xinclude/dba/dba_driver.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php
index cfb208e2d..b96601fec 100755
--- a/include/dba/dba_driver.php
+++ b/include/dba/dba_driver.php
@@ -307,6 +307,10 @@ function db_use_index($str) {
return \DBA::$dba->use_index($str);
}
+function db_str_to_date($str) {
+ return \DBA::$dba->str_to_date($str);
+}
+
/**
* @brief Execute a SQL query with printf style args.
*