We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c64f9b commit 9a09dc8Copy full SHA for 9a09dc8
src/qt/pivx/dashboardwidget.cpp
@@ -492,9 +492,10 @@ void DashboardWidget::updateStakeFilter()
492
if (yearFilter != 0) {
493
if (filterByMonth) {
494
QDate monthFirst = QDate(yearFilter, monthFilter, 1);
495
+ QDate monthLast = QDate(yearFilter, monthFilter, monthFirst.daysInMonth());
496
stakesFilter->setDateRange(
497
QDateTime(monthFirst),
- QDateTime(QDate(yearFilter, monthFilter, monthFirst.daysInMonth()))
498
+ QDateTime(monthLast).addSecs(86399) // last second of the day
499
);
500
} else {
501
0 commit comments