Skip to content
Snippets Groups Projects
Commit 84e7b292 authored by dkirov's avatar dkirov
Browse files

better way of doing #1872

parent 70da8ae0
No related branches found
No related tags found
No related merge requests found
......@@ -610,7 +610,7 @@ class ConversationTextview:
format += '%X' + after_str
# format comes as unicode, because of day_str.
# we convert it to the encoding that we want
tim_format = time.strftime(format.encode('utf-8'), tim)
tim_format = time.strftime(format, tim).encode('utf-8')
buffer.insert_with_tags_by_name(end_iter, tim_format + ' ',
*other_tags_for_time)
elif gajim.config.get('print_time') == 'sometimes':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment