summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-11-25 11:23:39 +0100
committerAndrew Dolgov <[email protected]>2008-11-25 11:23:39 +0100
commit045d0ab83ad08e856adcf208080d008515a9ec9f (patch)
treec2bd632f0598965fd97e5975b5d6f27718e0b729 /functions.php
parent6fc720fd9ff06ceb2b1db89bb53c7af3d8a27dd2 (diff)
pgsql: force datestyle to ISO, european for PHP strtotime() compatibility
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 0adf9c5ea..89752a588 100644
--- a/functions.php
+++ b/functions.php
@@ -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);