Changeset 9028

Show
Ignore:
Timestamp:
11/21/07 10:45:46 (10 months ago)
Author:
asterix
Message:

correctly decode string returned by strftime when we get a jabber:iq:time request. fixes #3569

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.3-bugfixes/src/common/connection_handlers.py

    r8981 r9028  
    13451345                qp.setTagData('utc', strftime('%Y%m%dT%T', gmtime())) 
    13461346                qp.setTagData('tz', tzname[daylight]) 
    1347                 qp.setTagData('display', strftime('%c', localtime())) 
     1347                qp.setTagData('display', helpers.decode_string(strftime('%c', 
     1348                        localtime()))) 
    13481349                self.connection.send(iq_obj) 
    13491350                raise common.xmpp.NodeProcessed