diff --git a/ui/StatusQ/src/StatusQ/Components/StatusDateGroupLabel.qml b/ui/StatusQ/src/StatusQ/Components/StatusDateGroupLabel.qml index 1764889db91..84781eb91fb 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusDateGroupLabel.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusDateGroupLabel.qml @@ -18,8 +18,8 @@ StatusBaseText { const currentMsgDate = new Date(messageTimestamp) const prevMsgDate = new Date(previousMessageTimestamp) - if (prevMsgDate > 0 && currentMsgDate.getDay() === prevMsgDate.getDay()) - return ""; + if (prevMsgDate > 0 && currentMsgDate.getDay() <= prevMsgDate.getDay()) + return "" const now = new Date(); // FIXME Qt6: replace with Intl.DateTimeFormat