show expanded/long timedate format on tooltip, fix #621
This commit is contained in:
parent
158d69a569
commit
a0b2ad3993
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ QVariant MessagesModel::data(const QModelIndex& idx, int role) const {
|
|||
else if (idx.column() == MSG_DB_DCREATED_INDEX) {
|
||||
return qApp->localization()->loadedLocale().toString(
|
||||
QDateTime::fromMSecsSinceEpoch(data(idx,
|
||||
Qt::ItemDataRole::EditRole).toLongLong()).toLocalTime(),
|
||||
Qt::ItemDataRole::EditRole).value<qint64>()).toLocalTime(),
|
||||
QLocale::FormatType::LongFormat);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue