Change dateFormat to follow system default.
This commit is contained in:
@@ -108,7 +108,7 @@ RowLayout {
|
|||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
Label {
|
Label {
|
||||||
text: Qt.formatTime(time, "hh:mm AP")
|
text: Qt.formatTime(time)
|
||||||
color: "white"
|
color: "white"
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
text: Qt.formatTime(time, "hh:mm AP")
|
text: Qt.formatTime(time)
|
||||||
color: MPalette.lighter
|
color: MPalette.lighter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import QtQuick.Controls 2.12
|
|||||||
import Spectral.Setting 0.1
|
import Spectral.Setting 0.1
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
text: section + " • " + Qt.formatTime(time, "hh:mm AP")
|
text: section + " • " + Qt.formatTime(time)
|
||||||
color: MPalette.foreground
|
color: MPalette.foreground
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ Control {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.maximumWidth: messageListView.width - authorControl.width - row.spacing - (root.padding * 2)
|
Layout.maximumWidth: messageListView.width - authorControl.width - row.spacing - (root.padding * 2)
|
||||||
|
|
||||||
text: display + " • " + Qt.formatTime(time, "hh:mm AP")
|
text: display + " • " + Qt.formatTime(time)
|
||||||
color: MPalette.foreground
|
color: MPalette.foreground
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ RowLayout {
|
|||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
Label {
|
Label {
|
||||||
text: Qt.formatTime(time, "hh:mm AP")
|
text: Qt.formatTime(time)
|
||||||
color: "white"
|
color: "white"
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user