summaryrefslogtreecommitdiff
path: root/poezio/text_buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/text_buffer.py')
-rw-r--r--poezio/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py
index 448adff3..f942c48e 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -56,7 +56,7 @@ class Message:
if str_time is None:
str_time = time.strftime("%H:%M:%S")
else:
- str_time = ''
+ str_time = str_time.strftime("%Y-%m-%d %H:%M:%S")
self.txt = txt.replace('\t', ' ') + '\x19o'
self.nick_color = nick_color