Room: show month for previous years dates

This commit is contained in:
miruka 2020-01-05 16:00:08 -04:00
parent 9990fecc74
commit d8e18c3337

View File

@ -65,7 +65,8 @@ HTileDelegate {
model.last_event_date.getFullYear() === new Date().getFullYear() ?
Qt.formatDate(model.last_event_date, "d MMM") : // e.g. "5 Dec"
model.last_event_date.getFullYear()
// model.last_event_date.getFullYear() ?
Qt.formatDate(model.last_event_date, "MMM yyyy") // e.g. "Jan 2020"
}
contextMenu: HMenu {