diff --git a/web/skins/classic/views/js/montagereview.js.php b/web/skins/classic/views/js/montagereview.js.php index 291bb99e8..5d43364e7 100644 --- a/web/skins/classic/views/js/montagereview.js.php +++ b/web/skins/classic/views/js/montagereview.js.php @@ -1,6 +1,12 @@ var server_utc_offset = System->Timezone or in php.ini'); +} + +$TimeZone = new DateTimeZone($tz); $now = new DateTime('now', $TimeZone); $offset = $TimeZone->getOffset($now); echo $offset.'; // '.floor($offset / 3600).' hours ';