Use short format for time

This commit is contained in:
Nicolas Werner 2021-03-05 17:44:49 +01:00
parent 2685eec6c7
commit e5cff64460
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -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