From 3dcdee70baae4d38136db72c3b5268fabacb2767 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Mon, 10 Oct 2016 13:47:56 +0100 Subject: [PATCH] Fix fuzzy time --- src/conversation_textview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conversation_textview.py b/src/conversation_textview.py index 46279b9e2..aec2e6a15 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -1323,8 +1323,7 @@ class ConversationTextview(GObject.GObject): self.last_time_printout = time.mktime(tim) end_iter = buffer_.get_end_iter() if gajim.config.get('print_time_fuzzy') > 0: - ft = self.fc.fuzzy_time(gajim.config.get('print_time_fuzzy'), tim) - tim_format = ft.decode(locale.getpreferredencoding()) + tim_format = self.fc.fuzzy_time(gajim.config.get('print_time_fuzzy'), tim) else: tim_format = self.get_time_to_show(tim, direction_mark) buffer_.insert_with_tags_by_name(end_iter, tim_format + '\n',