Skip to content

Commit

Permalink
Update DaysMatter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zqzess committed Jan 15, 2024
1 parent d8261bc commit a0e03e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/Mine/wnCalendar/DaysMatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ async function startWork() {
$.log('距离最近的节日:' + dateDiffArray[0].name)
let notifyContent = ''
for(let i= 0;i<dateDiffArray.length;i++){
if (i === 3) {
break
}
if (dateDiffArray[i].name === '今年已经没有节日啦!'){
notifyContent = notifyContent + "🥀" +dateDiffArray[i].name + ","
continue
Expand Down

0 comments on commit a0e03e4

Please sign in to comment.