Fixed timezone parsing

This commit is contained in:
Alexander Cherniuk 2009-11-24 14:24:35 +02:00
parent 3a190b8328
commit 94f6d6b79a
1 changed files with 1 additions and 1 deletions

View File

@ -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()