Changeset 9029

Show
Ignore:
Timestamp:
11/21/07 10:49:18 (13 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
  • trunk/src/common/connection_handlers.py

    r8988 r9029  
    14191419                qp.setTagData('utc', strftime('%Y%m%dT%T', gmtime())) 
    14201420                qp.setTagData('tz', tzname[daylight]) 
    1421                 qp.setTagData('display', strftime('%c', localtime())) 
     1421                qp.setTagData('display', helpers.decode_string(strftime('%c', 
     1422                        localtime()))) 
    14221423                self.connection.send(iq_obj) 
    14231424                raise common.xmpp.NodeProcessed