diff options
author | link2xt <link2xt@testrun.org> | 2021-08-28 12:03:48 +0000 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-08-28 15:05:39 +0300 |
commit | 6d2fc32a423b7b470521c67d94d9b59c168a948f (patch) | |
tree | d5eb1cdf41c769a9b7aea5677eff2f4b193452f8 /qml/Message.qml | |
parent | 7767e2843c0301bb8ee64eca324707cc93dcad09 (diff) | |
download | kdeltachat-6d2fc32a423b7b470521c67d94d9b59c168a948f.tar.gz kdeltachat-6d2fc32a423b7b470521c67d94d9b59c168a948f.zip |
Show message timestamps
Diffstat (limited to 'qml/Message.qml')
-rw-r--r-- | qml/Message.qml | 5 |
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 ? "✗" - : ""; + : ""); } } } |