summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-26 10:31:57 +0400
committerAndrew Dolgov <[email protected]>2013-04-26 10:31:57 +0400
commit6bfc97da869ca180d2f5fee01c9ff503cb47b1bd (patch)
treec495b5ac3d3701399cf657615de8c5f221d6f74e /classes/rpc.php
parent5ddef5ba238ad8bdfc23344b3bb3297067eb1747 (diff)
add automatic timezone (based on client tz offset)
Diffstat (limited to 'classes/rpc.php')
-rw-r--r--classes/rpc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 750aa2cb1..62d884673 100644
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -334,6 +334,7 @@ class RPC extends Handler_Protected {
$_SESSION["hasAudio"] = $_REQUEST["hasAudio"] === "true";
$_SESSION["hasSandbox"] = $_REQUEST["hasSandbox"] === "true";
$_SESSION["hasMp3"] = $_REQUEST["hasMp3"] === "true";
+ $_SESSION["clientTzOffset"] = $_REQUEST["clientTzOffset"];
$reply = array();