diff options
author | Mario <mario@mariovavti.com> | 2020-01-18 20:05:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-01-18 20:05:05 +0000 |
commit | 43aea3ce38bf6fd9c5b778dc71a977eca711c26d (patch) | |
tree | b24439f9468787b086353fc15e84ed1bf43c4ed2 /include/dba/dba_pdo.php | |
parent | cbaf4b7536c0b056bc8079aa39b24f2e2c312dd6 (diff) | |
download | volse-hubzilla-43aea3ce38bf6fd9c5b778dc71a977eca711c26d.tar.gz volse-hubzilla-43aea3ce38bf6fd9c5b778dc71a977eca711c26d.tar.bz2 volse-hubzilla-43aea3ce38bf6fd9c5b778dc71a977eca711c26d.zip |
we need 24h format
Diffstat (limited to 'include/dba/dba_pdo.php')
-rwxr-xr-x | include/dba/dba_pdo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_pdo.php b/include/dba/dba_pdo.php index 0ae69fe27..49f741601 100755 --- a/include/dba/dba_pdo.php +++ b/include/dba/dba_pdo.php @@ -141,7 +141,7 @@ class dba_pdo extends dba_driver { function str_to_date($str) { if($this->driver_dbtype === 'pgsql') { - return "TO_TIMESTAMP($str, 'YYYY-MM-DD HH:MI:SS')"; + return "TO_TIMESTAMP($str, 'YYYY-MM-DD HH24:MI:SS')"; } else { return "STR_TO_DATE($str, '%Y-%m-%d %H:%i:%s')"; |