summary refs log tree commit diff
path: root/src/dialogs/ReadReceipts.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-04 10:52:49 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-04 10:52:49 +0200
commita7e84b63ac5ced66c522970c844aa847279098d0 (patch)
tree62b32c6471eb28e7f565c24ce822d5e612faf8e0 /src/dialogs/ReadReceipts.cc
parentmatrix-structs: Parse m.room.redaction events (diff)
downloadnheko-a7e84b63ac5ced66c522970c844aa847279098d0.tar.xz
Remove an extra colon from the receipt time
[ci skip]
Diffstat (limited to '')
-rw-r--r--src/dialogs/ReadReceipts.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/ReadReceipts.cc b/src/dialogs/ReadReceipts.cc
index ae28969f..feb382de 100644
--- a/src/dialogs/ReadReceipts.cc
+++ b/src/dialogs/ReadReceipts.cc
@@ -62,7 +62,7 @@ ReceiptItem::dateFormat(const QDateTime &then) const
         if (days == 0)
                 return QString("Today %1").arg(then.toString("HH:mm"));
         else if (days < 2)
-                return QString("Yesterday %1").arg(then.toString("HH::mm"));
+                return QString("Yesterday %1").arg(then.toString("HH:mm"));
         else if (days < 365)
                 return then.toString("dd/MM HH:mm");