Skip to content

Commit 30cdace

Browse files
committed
[Wallet] Transaction View: LastMonth calculation fixed
1 parent dd1304e commit 30cdace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/transactionview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void TransactionView::chooseDate(int idx)
267267
break;
268268
case LastMonth:
269269
transactionProxyModel->setDateRange(
270-
QDateTime(QDate(current.year(), current.month()-1, 1)),
270+
QDateTime(QDate(current.year(), current.month(), 1).addMonths(-1)),
271271
QDateTime(QDate(current.year(), current.month(), 1)));
272272
break;
273273
case ThisYear:

0 commit comments

Comments
 (0)