Skip to content

Commit

Permalink
[Wallet] Transaction View: LastMonth calculation fixed
Browse files Browse the repository at this point in the history
Github-Pull: bitcoin#7327
Rebased-From: 30cdace
  • Loading branch information
crowning- authored and MarcoFalke committed Jan 18, 2016
1 parent 351ffd8 commit a74fa1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/transactionview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a74fa1f

Please sign in to comment.