fix: include current week in keys
This commit is contained in:
parent
87ae2d6297
commit
cba4773c11
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@ const getKeys = (months = 1) => {
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
keys.push(`${currentDate.year}-${currentDate.weekNumber}`)
|
||||||
|
|
||||||
return keys
|
return keys
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue