mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-06-28 23:49:21 +02:00
Merge 43ac0a4641
into b9e63145b4
This commit is contained in:
commit
d847bbcbc2
|
@ -173,6 +173,9 @@ class PostgreSQLDatabase extends SS_Database {
|
||||||
|
|
||||||
$this->setSchema($schema);
|
$this->setSchema($schema);
|
||||||
|
|
||||||
|
// Set the timezone if required.
|
||||||
|
if(isset($parameters['timezone'])) $this->query(sprintf("SET SESSION TIME ZONE '%s'", $parameters['timezone']));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user