Skip to content
Snippets Groups Projects
Commit 4c4ad5e8 authored by nkour's avatar nkour
Browse files

%X asks locale

parent a7958759
No related branches found
No related tags found
No related merge requests found
......@@ -562,11 +562,11 @@ def print_conversation_line(self, text, jid, kind, name, tim,
day_str = _('Yesterday')
else:
#the number is >= 2
day_str = _('%i days ago') % diff_day
day_str = _('%d days ago') % diff_day
format = before_str
if day_str:
format += day_str + ' '
format += '%H:%M:%S' + after_str
format += '%X' + after_str
tim_format = time.strftime(format, tim)
buffer.insert_with_tags_by_name(end_iter, tim_format + ' ',
*other_tags_for_time)
......
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