pgsql: force datestyle to ISO, european for PHP strtotime() compatibility

This commit is contained in:
Andrew Dolgov 2008-11-25 11:23:39 +01:00
parent 6fc720fd9f
commit 045d0ab83a
1 changed files with 1 additions and 1 deletions

View File

@ -5853,7 +5853,7 @@
if (DB_TYPE == "pgsql") {
pg_query($link, "set client_encoding = 'UTF-8'");
pg_set_client_encoding("UNICODE");
pg_query($link, "set datestyle = 'european'");
pg_query($link, "set datestyle = 'ISO, european'");
} else {
if (defined('MYSQL_CHARSET') && MYSQL_CHARSET) {
db_query($link, "SET NAMES " . MYSQL_CHARSET);