fix: date
This commit is contained in:
parent
90236e89e9
commit
99b9c21221
|
@ -52,7 +52,7 @@ StyledText {
|
||||||
//% "December"
|
//% "December"
|
||||||
qsTrId("december")
|
qsTrId("december")
|
||||||
];
|
];
|
||||||
return monthNames[currentMsgDate.getMonth()] + ", " + currentMsgDate.getDay()
|
return monthNames[currentMsgDate.getMonth()] + ", " + currentMsgDate.getDate()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
|
|
|
@ -135,7 +135,7 @@ Rectangle {
|
||||||
qsTrId("saturday")];
|
qsTrId("saturday")];
|
||||||
return days[messageDate.getDay()];
|
return days[messageDate.getDay()];
|
||||||
} else {
|
} else {
|
||||||
return messageDate.getMonth()+1+"/"+messageDate.getDay()+"/"+messageDate.getFullYear()
|
return messageDate.getMonth()+1+"/"+messageDate.getDate()+"/"+messageDate.getFullYear()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
Loading…
Reference in New Issue