Show date instead of "Yesterday" for RoomDelegate
"Yesterday" takes too much space
This commit is contained in:
parent
28b5fbd267
commit
3e48d63cf3
|
@ -68,8 +68,6 @@ HInteractiveRectangle {
|
||||||
Utils.dateIsToday(evDate) ?
|
Utils.dateIsToday(evDate) ?
|
||||||
Utils.formatTime(evDate, false) : // no seconds
|
Utils.formatTime(evDate, false) : // no seconds
|
||||||
|
|
||||||
Utils.dateIsYesterday(evDate) ? qsTr("Yesterday") :
|
|
||||||
|
|
||||||
evDate.getFullYear() == new Date().getFullYear() ?
|
evDate.getFullYear() == new Date().getFullYear() ?
|
||||||
Qt.formatDate(evDate, "dd MMM") : // e.g. "24 Nov"
|
Qt.formatDate(evDate, "dd MMM") : // e.g. "24 Nov"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user