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
path: root/core
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2016-10-04 10:51:27 +0300
committerGitHub <noreply@github.com>2016-10-04 10:51:27 +0300
commit2c78543b1c482742dcea5d23b57e978d4701d6eb (patch)
treed2da7618467f5eddfe8b13ebfca5eb8f2c7a4ad8 /core
parent3983ec721f77ed0595d3cc0b3c201c6e873472d9 (diff)
fixes #10671
Diffstat (limited to 'core')
-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;
}