fix client local time

This commit is contained in:
Denis Fomin 2013-01-03 04:16:14 +04:00
parent ce1a785484
commit 477e5a5093
1 changed files with 1 additions and 2 deletions

View File

@ -567,8 +567,7 @@ class RosterTooltip(NotificationAreaTooltip):
# time.strftime returns locale encoded string # time.strftime returns locale encoded string
local_time = time.strftime('%c', local_time = time.strftime('%c',
contact.last_status_time) contact.last_status_time)
local_time = local_time.decode(
locale.getpreferredencoding())
text = text % local_time text = text % local_time
show += text show += text
if self.account and \ if self.account and \