Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2016-10-04 10:48:48 +0300
committerGitHub <noreply@github.com>2016-10-04 10:48:48 +0300
commit74abd1cf33029750d86187c4bd5dffb751160e8e (patch)
treeff20b2b4732197c5fddc1d9abfb02794b3535f78
parenta11d7c0b9ae0a23973875230c217594e2194cde8 (diff)
fixes #10671
-rw-r--r--core/Updates/2.16.3-b3.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Updates/2.16.3-b3.php b/core/Updates/2.16.3-b3.php
index e5f2075c71..ba57839d57 100644
--- a/core/Updates/2.16.3-b3.php
+++ b/core/Updates/2.16.3-b3.php
@@ -34,6 +34,7 @@ class Updates_2_16_3_b3 extends PiwikUpdates
protected function adjustTimezoneBySite($hour, $idSite)
{
+ $timezone = Site::getTimezoneFor($idSite);
$timeZoneDifference = -ceil(Date::getUtcOffset($timezone)/3600);
return (24 + $hour + $timeZoneDifference) % 24;
}