From 99b9c212215c613df87702304909a0bf54ef0bcc Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Thu, 23 Jul 2020 11:40:33 -0400 Subject: [PATCH] fix: date --- .../AppLayouts/Chat/ChatColumn/MessageComponents/DateGroup.qml | 2 +- ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/DateGroup.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/DateGroup.qml index 9536f00ecb..cc7fe82d89 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/DateGroup.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/DateGroup.qml @@ -52,7 +52,7 @@ StyledText { //% "December" qsTrId("december") ]; - return monthNames[currentMsgDate.getMonth()] + ", " + currentMsgDate.getDay() + return monthNames[currentMsgDate.getMonth()] + ", " + currentMsgDate.getDate() } } else { return ""; diff --git a/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml b/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml index c5c9a89b50..5273abea09 100644 --- a/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml +++ b/ui/app/AppLayouts/Chat/ContactsColumn/Channel.qml @@ -135,7 +135,7 @@ Rectangle { qsTrId("saturday")]; return days[messageDate.getDay()]; } else { - return messageDate.getMonth()+1+"/"+messageDate.getDay()+"/"+messageDate.getFullYear() + return messageDate.getMonth()+1+"/"+messageDate.getDate()+"/"+messageDate.getFullYear() } } anchors.right: parent.right