changeset 5cc164529c5e in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=5cc164529c5e description: fix contact time
diffstat:
src/vcard.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r c97d059e6b49 -r 5cc164529c5e src/vcard.py --- a/src/vcard.py Fri Jan 04 14:12:35 2013 +0100 +++ b/src/vcard.py Fri Jan 04 22:00:16 2013 +0400 @@ -346,8 +346,7 @@ stats += ': ' + self.contact.status if self.contact.last_status_time: stats += '\n' + _('since %s') % time.strftime('%c', - self.contact.last_status_time).decode( - locale.getpreferredencoding()) + self.contact.last_status_time) for c in connected_contact_list: if c.resource != self.contact.resource: stats += '\n' @@ -356,7 +355,7 @@ stats += ': ' + c.status if c.last_status_time: stats += '\n' + _('since %s') % time.strftime('%c', - c.last_status_time).decode(locale.getpreferredencoding()) + c.last_status_time) else: # Maybe gc_vcard ? stats = helpers.get_uf_show(self.contact.show) if self.contact.status: