Skip to content

Commit

Permalink
Merge pull request bitcoin#7327
Browse files Browse the repository at this point in the history
30cdace [Wallet] Transaction View: LastMonth calculation fixed (crowning-)
  • Loading branch information
jonasschnelli committed Jan 13, 2016
2 parents 17ef279 + 30cdace commit c079d79
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 c079d79

Please sign in to comment.