diff options
author | Andrew Dolgov <[email protected]> | 2013-04-26 10:48:00 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-26 10:48:00 +0400 |
commit | 96f0cbe30d05ea41bb95fcc1487e2e2d5c55f966 (patch) | |
tree | d72c6b93334e2eb24c2433265feadb8a5bec36eb /include | |
parent | 6bfc97da869ca180d2f5fee01c9ff503cb47b1bd (diff) |
clientTzOffset: use proper sign
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 4272c649d..1ab92475d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -872,7 +872,7 @@ $tz_offset = $user_tz->getOffset($dt); } else { - $tz_offset = (int) $_SESSION["clientTzOffset"]; + $tz_offset = (int) -$_SESSION["clientTzOffset"]; } $user_timestamp = $dt->format('U') + $tz_offset; |