From 29fb257f66811c8184e89b89ceb2b10afbaeec79 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 30 Jun 2005 21:21:33 +0000 Subject: [PATCH] show the correct time in restored conversation --- src/tabbed_chat_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 158f5ce1d..6ecb97000 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -448,7 +448,7 @@ class TabbedChatWindow(chat.Chat): kind = 'incoming' name = self.users[jid].name - tim = time.gmtime(float(msg[0])) + tim = time.localtime(float(msg[0])) text = ':'.join(msg[2:])[0:-1] #remove the latest \n self.print_conversation_line(text, jid, kind, name, tim,