fix client local time
This commit is contained in:
parent
ce1a785484
commit
477e5a5093
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue