RoomDelegate last event time year

This commit is contained in:
miruka 2019-08-16 13:44:44 -04:00
parent 656dbbdf4a
commit da4bb55f43
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,6 @@
- Fixes - Fixes
- (Left?)Banner binding loop - (Left?)Banner binding loop
- Reloading config files (cache) - Reloading config files (cache)
- Ignore @ when filtering members
- Tiny invisible scrollbar - Tiny invisible scrollbar
- Run import in thread and AsyncClient.olm functions, they block async loop - Run import in thread and AsyncClient.olm functions, they block async loop
- Handle import keys errors - Handle import keys errors

View File

@ -70,7 +70,10 @@ HInteractiveRectangle {
Utils.dateIsYesterday(evDate) ? qsTr("Yesterday") : Utils.dateIsYesterday(evDate) ? qsTr("Yesterday") :
Qt.formatDate(evDate, "dd MMM") // e.g. "24 Nov" evDate.getFullYear() == new Date().getFullYear() ?
Qt.formatDate(evDate, "dd MMM") : // e.g. "24 Nov"
evDate.getFullYear()
visible: Layout.maximumWidth > 0 visible: Layout.maximumWidth > 0
Layout.maximumWidth: Layout.maximumWidth: