try fix event
This commit is contained in:
parent
3809d96504
commit
ece995352f
5 changed files with 14 additions and 15 deletions
|
|
@ -149,7 +149,9 @@ function getId(eventData) {
|
|||
function createEmptyCalendar() {
|
||||
const calendar = {};
|
||||
|
||||
for (let month = 9; month < 21; month++) {
|
||||
const currentMonth = dayjs().month();
|
||||
|
||||
for (let month = currentMonth; month < 21; month++) {
|
||||
const normalizedMonth = ((month - 1) % 12) + 1;
|
||||
|
||||
const daysInMonth = dayjs()
|
||||
|
|
@ -178,7 +180,7 @@ function createEmptyCalendar() {
|
|||
return calendar;
|
||||
}
|
||||
|
||||
async function getCurrentSeasonCalendar(monthNumb, dates) {
|
||||
async function getCurrentSeasonCalendar() {
|
||||
const calendar = createEmptyCalendar();
|
||||
|
||||
const requestParams = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue