[Christoph Neuroth] Fix fuzzyclock times for old conversations. Fixes #2227

This commit is contained in:
Yann Leboulanger 2006-08-21 10:20:33 +00:00
parent 87e46f49f1
commit 2785639d52
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ class ConversationTextview:
end_iter = buffer.get_end_iter() end_iter = buffer.get_end_iter()
if gajim.config.get('print_time_fuzzy') > 0: if gajim.config.get('print_time_fuzzy') > 0:
fc = FuzzyClock() fc = FuzzyClock()
fc.setTime(time.strftime('%H:%M')) fc.setTime(time.strftime('%H:%M', tim))
ft = fc.getFuzzyTime(gajim.config.get('print_time_fuzzy')) ft = fc.getFuzzyTime(gajim.config.get('print_time_fuzzy'))
tim_format = ft.decode(locale.getpreferredencoding()) tim_format = ft.decode(locale.getpreferredencoding())
else: else: