mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-23 01:58:48 +02:00
Fix history date sort
This commit is contained in:
@@ -137,6 +137,9 @@ QVariant TransactionHistoryModel::parseTransactionInfo(const TransactionInfo &tI
|
||||
{
|
||||
case Column::Date:
|
||||
{
|
||||
if (role == Qt::UserRole) {
|
||||
return tInfo.timestamp();
|
||||
}
|
||||
return tInfo.timestamp().toString(QString("%1 %2 ").arg(config()->get(Config::dateFormat).toString(),
|
||||
config()->get(Config::timeFormat).toString()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user