summaryrefslogtreecommitdiff
path: root/poezio/text_buffer.py
diff options
context:
space:
mode:
authorMadhur Garg <madhurgarg96@gmail.com>2019-03-21 02:41:39 +0530
committerMadhur Garg <madhurgarg96@gmail.com>2019-03-23 23:46:27 +0530
commit24a0df30f022f47d8b2cf4b0d7791b94125a3027 (patch)
tree2c0c84232aab720223331eba63b62fc86c35b7cd /poezio/text_buffer.py
parent614ea5423b4ca0c14de525e6b4cc03568d1a3eae (diff)
downloadpoezio-24a0df30f022f47d8b2cf4b0d7791b94125a3027.tar.gz
poezio-24a0df30f022f47d8b2cf4b0d7791b94125a3027.tar.bz2
poezio-24a0df30f022f47d8b2cf4b0d7791b94125a3027.tar.xz
poezio-24a0df30f022f47d8b2cf4b0d7791b94125a3027.zip
Corrected the value of timestamp for MUC subject. Fixes #3451
Corrected the value of timestamp for MUC subject. Fixes #3451 Corrects the value of timestamp for messages with delay tag. Fixes #3451
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