From 6bfc97da869ca180d2f5fee01c9ff503cb47b1bd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Apr 2013 10:31:57 +0400 Subject: add automatic timezone (based on client tz offset) --- classes/rpc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes') 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(); -- cgit v1.2.3-54-g00ecf