mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-17 01:37:53 +00:00
History: copy date as shown
This commit is contained in:
parent
27f3e96686
commit
b8dbf128d2
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ void HistoryWidget::copy(copyField field) {
|
||||||
case copyField::Description:
|
case copyField::Description:
|
||||||
return tx->description();
|
return tx->description();
|
||||||
case copyField::Date:
|
case copyField::Date:
|
||||||
return tx->timestamp().toString("yyyy-MM-dd HH:mm");
|
return tx->timestamp().toString(QString("%1 %2").arg(config()->get(Config::dateFormat).toString(),
|
||||||
|
config()->get(Config::timeFormat).toString()));
|
||||||
case copyField::Amount:
|
case copyField::Amount:
|
||||||
return WalletManager::displayAmount(tx->balanceDelta());
|
return WalletManager::displayAmount(tx->balanceDelta());
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue