summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-09-02 14:46:38 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-09-02 14:46:38 -0300
commit0cacbe7c8dae97a04654c2cca5e928dfa9e3741d (patch)
treed070b8ff62663869fdad5874cd332f2367898915 /src/leap/bitmask/services
parentd99947002dba95174f1217850d500efb50a4cb74 (diff)
Fix local offset calculation. Closes #3595.
Python returns the timezone with the opposed sign to the standard notation.
Diffstat (limited to 'src/leap/bitmask/services')
-rw-r--r--src/leap/bitmask/services/eip/eipconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/eip/eipconfig.py b/src/leap/bitmask/services/eip/eipconfig.py
index 1f49f9cd..1cb7419e 100644
--- a/src/leap/bitmask/services/eip/eipconfig.py
+++ b/src/leap/bitmask/services/eip/eipconfig.py
@@ -141,7 +141,7 @@ class VPNGatewaySelector(object):
if time.daylight:
local_offset = time.altzone
- return local_offset / 3600
+ return -local_offset / 3600
class EIPConfig(BaseConfig):