Fixed first day missing in monthly stats
This commit is contained in:
parent
ab2b508e98
commit
920bccb45e
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ export const juggl = {
|
|||
|
||||
// Month in date object goes from 0 - 11
|
||||
var options = {
|
||||
from: new Date(startYear, startMonth - 1, 2),
|
||||
from: new Date(startYear, startMonth - 1, 1),
|
||||
until: new Date(endYear, endMonth, 0) // 0 leads to the last day of the previous month
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue