1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +00:00

clientTzOffset: use proper sign

This commit is contained in:
Andrew Dolgov
2013-04-26 10:48:00 +04:00
parent 6bfc97da86
commit 96f0cbe30d

View File

@@ -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;