diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-01-13 21:24:30 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-01-13 21:24:43 +0100 |
commit | c079d79c9a9c726fff367abc2d21c528e37275b9 (patch) | |
tree | 63027f3fe1f8d232227b1c1e664de0e5ad229194 /src | |
parent | 17ef279304a94ec01a8525189b80c163d931b1cf (diff) | |
parent | 30cdacea3c356acda32ab77238f07c1c40b1f1b5 (diff) |
Merge pull request #7327
30cdace [Wallet] Transaction View: LastMonth calculation fixed (crowning-)
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/transactionview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 28928d8212..4a9a198216 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -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: |