Fix fatal error when using DMY- or MDY-based date format in PostgreSQL (#5808)

pull/5838/head
Aleksander Machniak 7 years ago
parent fc12b6574e
commit 6a83c3cc18

@ -21,6 +21,7 @@ CHANGELOG Roundcube Webmail
- Fix style issue on selected and unfocused message that is part of a thread (#5798)
- Fix bug where a.button style from managesieve plugin could impact other elements (#5800)
- Fix position of selected icon for (Mailvelope) Encrypt button
- Fix fatal error when using DMY- or MDY-based date format in PostgreSQL (#5808)
RELEASE 1.3.0
-------------

@ -3,7 +3,7 @@
/**
+-----------------------------------------------------------------------+
| This file is part of the Roundcube Webmail client |
| Copyright (C) 2005-2012, The Roundcube Dev Team |
| Copyright (C) 2005-2017, The Roundcube Dev Team |
| |
| Licensed under the GNU General Public License version 3 or |
| any later version with exceptions for skins & plugins. |
@ -52,6 +52,7 @@ class rcube_db_pgsql extends rcube_db
protected function conn_configure($dsn, $dbh)
{
$dbh->query("SET NAMES 'utf8'");
$dbh->query("SET DATESTYLE TO ISO");
}
/**

Loading…
Cancel
Save