diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 17:44:49 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-05 17:44:49 +0100 |
commit | e5cff644606008210a6443acc083aecb56be5c92 (patch) | |
tree | a0abd5928acd273f9f130c7e0175d7c64b221fd7 /resources/qml | |
parent | Mark message currently being edited (diff) | |
download | nheko-e5cff644606008210a6443acc083aecb56be5c92.tar.xz |
Use short format for time
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/TimelineRow.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml index 9d46e7ae..cea2da40 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml @@ -106,7 +106,7 @@ Item { Label { Layout.alignment: Qt.AlignRight | Qt.AlignTop - text: model.timestamp.toLocaleTimeString("HH:mm") + text: model.timestamp.toLocaleTimeString(Locale.ShortFormat) width: Math.max(implicitWidth, text.length * fontMetrics.maximumCharacterWidth) color: inactiveColors.text ToolTip.visible: ma.hovered |