diff options
author | Stefan Giehl <stefan@piwik.org> | 2016-10-04 10:51:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 10:51:27 +0300 |
commit | 2c78543b1c482742dcea5d23b57e978d4701d6eb (patch) | |
tree | d2da7618467f5eddfe8b13ebfca5eb8f2c7a4ad8 /core | |
parent | 3983ec721f77ed0595d3cc0b3c201c6e873472d9 (diff) |
fixes #10671
Diffstat (limited to 'core')
-rw-r--r-- | core/Updates/2.16.3-b3.php | 1 |
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; } |