correctly decode timezone name. fixes #3569

This commit is contained in:
Yann Leboulanger 2007-12-13 08:37:20 +00:00
parent 762f80cbd2
commit 48786d39ff
1 changed files with 1 additions and 1 deletions

View File

@ -1447,7 +1447,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
iq_obj = iq_obj.buildReply('result')
qp = iq_obj.getTag('query')
qp.setTagData('utc', strftime('%Y%m%dT%T', gmtime()))
qp.setTagData('tz', tzname[daylight])
qp.setTagData('tz', helpers.decode_string(tzname[daylight]))
qp.setTagData('display', helpers.decode_string(strftime('%c',
localtime())))
self.connection.send(iq_obj)