msec fixes

This commit is contained in:
Aditya Kulkarni
2018-10-28 11:16:57 -07:00
parent 507edfa8de
commit 56e45bc64c
2 changed files with 3 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ void TxTableModel::updateAllData() {
else
return addr;
}
case 2: return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime).toLocalTime().toString();
case 2: return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime * 1000).toLocalTime().toString();
case 3: return Settings::getInstance()->getZECDisplayFormat(modeldata->at(index.row()).amount);
}
}
@@ -114,7 +114,7 @@ void TxTableModel::updateAllData() {
else
return addr;
}
case 2: return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime).toLocalTime().toString();
case 2: return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime * 1000).toLocalTime().toString();
case 3: return Settings::getInstance()->getUSDFormat(modeldata->at(index.row()).amount);
}
}