From 3e48d63cf3a7a70dcfd7803126bec4acc6e836ae Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 17 Aug 2019 13:00:32 -0400 Subject: [PATCH] Show date instead of "Yesterday" for RoomDelegate "Yesterday" takes too much space --- src/qml/SidePane/RoomDelegate.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/qml/SidePane/RoomDelegate.qml b/src/qml/SidePane/RoomDelegate.qml index 5eccf946..56ccee78 100644 --- a/src/qml/SidePane/RoomDelegate.qml +++ b/src/qml/SidePane/RoomDelegate.qml @@ -68,8 +68,6 @@ HInteractiveRectangle { Utils.dateIsToday(evDate) ? Utils.formatTime(evDate, false) : // no seconds - Utils.dateIsYesterday(evDate) ? qsTr("Yesterday") : - evDate.getFullYear() == new Date().getFullYear() ? Qt.formatDate(evDate, "dd MMM") : // e.g. "24 Nov"