aboutsummaryrefslogtreecommitdiff
path: root/qml/Message.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-28 12:03:48 +0000
committerlink2xt <link2xt@testrun.org>2021-08-28 15:05:39 +0300
commit6d2fc32a423b7b470521c67d94d9b59c168a948f (patch)
treed5eb1cdf41c769a9b7aea5677eff2f4b193452f8 /qml/Message.qml
parent7767e2843c0301bb8ee64eca324707cc93dcad09 (diff)
downloadkdeltachat-6d2fc32a423b7b470521c67d94d9b59c168a948f.tar.gz
kdeltachat-6d2fc32a423b7b470521c67d94d9b59c168a948f.zip
Show message timestamps
Diffstat (limited to 'qml/Message.qml')
-rw-r--r--qml/Message.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/qml/Message.qml b/qml/Message.qml
index 85cc2ac..c7daf07 100644
--- a/qml/Message.qml
+++ b/qml/Message.qml
@@ -218,10 +218,11 @@ RowLayout {
}
Label {
Layout.fillWidth: true
- text: messageObject.message.state == 26 ? "✓"
+ text: Qt.formatDateTime(messageObject.message.timestamp, "dd. MMM yyyy, hh:mm")
+ + (messageObject.message.state == 26 ? "✓"
: messageObject.message.state == 28 ? "✓✓"
: messageObject.message.state == 24 ? "✗"
- : "";
+ : "");
}
}
}