Browse Source

History: copy date as shown

1.0.0
tobtoht 1 month ago
parent
commit
b8dbf128d2
Signed by: tobtoht GPG Key ID: 1CADD27F41F45C3C
  1. 3
      src/HistoryWidget.cpp

3
src/HistoryWidget.cpp

@ -159,7 +159,8 @@ void HistoryWidget::copy(copyField field) {
case copyField::Description:
return tx->description();
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:
return WalletManager::displayAmount(tx->balanceDelta());
default:

Loading…
Cancel
Save