mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 12:09:50 +00:00
Fix history date sort
This commit is contained in:
parent
a60326a593
commit
e6f1feaa29
1 changed files with 3 additions and 0 deletions
|
@ -137,6 +137,9 @@ QVariant TransactionHistoryModel::parseTransactionInfo(const TransactionInfo &tI
|
||||||
{
|
{
|
||||||
case Column::Date:
|
case Column::Date:
|
||||||
{
|
{
|
||||||
|
if (role == Qt::UserRole) {
|
||||||
|
return tInfo.timestamp();
|
||||||
|
}
|
||||||
return tInfo.timestamp().toString(QString("%1 %2 ").arg(config()->get(Config::dateFormat).toString(),
|
return tInfo.timestamp().toString(QString("%1 %2 ").arg(config()->get(Config::dateFormat).toString(),
|
||||||
config()->get(Config::timeFormat).toString()));
|
config()->get(Config::timeFormat).toString()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue