summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-05 17:44:49 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-05 17:44:49 +0100
commite5cff644606008210a6443acc083aecb56be5c92 (patch)
treea0abd5928acd273f9f130c7e0175d7c64b221fd7 /resources/qml
parentMark message currently being edited (diff)
downloadnheko-e5cff644606008210a6443acc083aecb56be5c92.tar.xz
Use short format for time
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/TimelineRow.qml2
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