%X asks locale

This commit is contained in:
Nikos Kouremenos 2005-11-29 19:11:03 +00:00
parent a79587590f
commit 4c4ad5e8cd
1 changed files with 2 additions and 2 deletions

View File

@ -562,11 +562,11 @@ class ConversationTextview(gtk.TextView):
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)