fix: date

This commit is contained in:
Richard Ramos 2020-07-23 11:40:33 -04:00 committed by Iuri Matias
parent 90236e89e9
commit 99b9c21221
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ StyledText {
//% "December"
qsTrId("december")
];
return monthNames[currentMsgDate.getMonth()] + ", " + currentMsgDate.getDay()
return monthNames[currentMsgDate.getMonth()] + ", " + currentMsgDate.getDate()
}
} else {
return "";

View File

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