🐛 [General Question] This Month
in dashboard should show summary for currentDate - startDateOfMonth
#884
Labels
question
Further information is requested
Summary
Currently, when we choose the
This Month
option in Dashboard, it shows summary between the dates currentDate andcurrentDate - 1 month
. For example, it shows summary between 6-April-2024 and 6-March-2024.I think
This Month
should show summary only for the current month asThis
refers to the current month and not the last one month period. In the above example, it will be summary between 6-April-2024 and 1-April-2024.I think there are two possible solutions:
1 Month
.fromDate
to use current month's beginning date. In this case, this line will be:books/src/utils/misc.ts
Line 32 in 09fb557
fromDate = toDate.startOf('month');
The text was updated successfully, but these errors were encountered: