summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-09-01 22:58:26 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2019-11-23 20:06:14 +0100
commit56e27ced2555fe6d2ae4644c391cc81a9b5bfd85 (patch)
tree29c026cef1770d9d5283c1e4227d8fbc309dbb0b /resources
parentccedbde38b312f907c2845132ff60f57bcef7c08 (diff)
Format date (close to) the old way in qml timeline
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/TimelineView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 3697b37b..bab1d932 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -104,7 +104,7 @@ Rectangle {
id: dateBubble
anchors.horizontalCenter: parent.horizontalCenter
visible: section.includes(" ")
- text: Qt.formatDate(new Date(Number(section.split(" ")[1])))
+ text: chat.model.formatDateSeparator(new Date(Number(section.split(" ")[1])))
height: contentHeight * 1.2
width: contentWidth * 1.2
horizontalAlignment: Text.AlignHCenter