Browse Source

[Wallet] Transaction View: LastMonth calculation fixed

0.13
crowning- 9 years ago
parent
commit
30cdacea3c
  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