Browse Source

Merge pull request #7327

30cdace [Wallet] Transaction View: LastMonth calculation fixed (crowning-)
0.13
Jonas Schnelli 9 years ago
parent
commit
c079d79c9a
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC
  1. 2
      src/qt/transactionview.cpp

2
src/qt/transactionview.cpp

@ -267,7 +267,7 @@ void TransactionView::chooseDate(int idx) @@ -267,7 +267,7 @@ void TransactionView::chooseDate(int idx)
break;
case LastMonth:
transactionProxyModel->setDateRange(
QDateTime(QDate(current.year(), current.month()-1, 1)),
QDateTime(QDate(current.year(), current.month(), 1).addMonths(-1)),
QDateTime(QDate(current.year(), current.month(), 1)));
break;
case ThisYear:

Loading…
Cancel
Save