From: Andrew Dolgov Date: Fri, 26 Apr 2013 06:48:00 +0000 (+0400) Subject: clientTzOffset: use proper sign X-Git-Tag: 1.7.9~25^2~77 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=96f0cbe30d05ea41bb95fcc1487e2e2d5c55f966;p=tt-rss.git clientTzOffset: use proper sign --- diff --git a/include/functions.php b/include/functions.php index 4272c649..1ab92475 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;