diff --git a/calendar.js b/calendar.js index 98957d8..6e78d25 100644 --- a/calendar.js +++ b/calendar.js @@ -40,13 +40,13 @@ const datekey = `${year}-${month+1}-${daycount}`; let eventtext = yotei[datekey]?`
${yotei[datekey]}
`:""; if(daycount===today.getDate() && month===today.getMonth() && year===today.getFullYear()){ - calendarhtml+=`${daycount}`; + calendarhtml+=`${daycount}${eventtext}`; } else if (j===0||j===6){ - calendarhtml+=`${daycount}`; + calendarhtml+=`${daycount}${eventtext}`; } else { - calendarhtml+=`${daycount}`; + calendarhtml+=`${daycount}${eventtext}`; } daycount++; }