fix(Chat): make message date group labels work again
This commit is contained in:
parent
86f64a4613
commit
7d88adcbe1
|
@ -21,6 +21,7 @@ StatusBaseText {
|
|||
if (prevMsgDate > 0 && currentMsgDate.getDay() === prevMsgDate.getDay())
|
||||
return "";
|
||||
|
||||
const now = new Date();
|
||||
// FIXME Qt6: replace with Intl.DateTimeFormat
|
||||
const monthName = Qt.locale().standaloneMonthName(currentMsgDate.getMonth(), Locale.LongFormat)
|
||||
if (now.getFullYear() > currentMsgDate.getFullYear())
|
||||
|
|
Loading…
Reference in New Issue