From 94f6d6b79ac357c98ec6d3089f891ec5d78968e4 Mon Sep 17 00:00:00 2001 From: Alexander Cherniuk Date: Tue, 24 Nov 2009 14:24:35 +0200 Subject: [PATCH] Fixed timezone parsing --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 63e25bc00..35679d771 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1735,7 +1735,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco, # wrong answer return tzo = qp.getTag('tzo').getData() - if tzo == 'Z': + if tzo.lower() == 'z': tzo = '0:0' tzoh, tzom = tzo.split(':') utc_time = qp.getTag('utc').getData()