show the correct time in restored conversation
This commit is contained in:
		
							parent
							
								
									281ab32034
								
							
						
					
					
						commit
						29fb257f66
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue