switch relative/absolute TS between label and tooltip in boards

This commit is contained in:
csoler 2020-10-17 20:53:07 +02:00
parent d9ddba6952
commit 4ed1d1f8fc

View File

@ -205,8 +205,8 @@ void BoardPostDisplayWidgetBase::setup()
qtime.setTime_t(mPost.mMeta.mPublishTs);
QString timestamp = qtime.toString("hh:mm dd-MMM-yyyy");
QString timestamp2 = misc::timeRelativeToNow(mPost.mMeta.mPublishTs) + " " + tr("ago");
dateLabel()->setText(timestamp2);
dateLabel()->setToolTip(timestamp);
dateLabel()->setText(timestamp);
dateLabel()->setToolTip(timestamp2);
fromLabel()->setId(mPost.mMeta.mAuthorId);