Update custom.html

master
Ronin0000 2021-11-20 18:48:03 -08:00 committed by GitHub
parent d491103414
commit 52675f7eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -78,12 +78,12 @@
let schedule = []
//--------------------
console.log = console.log || function(){};
console.log(calendar.getEvents()[0].title());
console.log(calendar.getEvents()[0].title);
//--------------------
if(calendarEvents){
for(i=0;i>calendarEvents.length;i++){
var calendarEntry = {}
calendarEntry['cn'] = calendarEvents[i].title();
calendarEntry['cn'] = calendarEvents[i].title;
calendarEntry['dow'] = calendarEvents[i].start.getDate();
calendarEntry['sh'] = calendarEvents[i].start.getHours();
calendarEntry['sm'] = calendarEvents[i].start.getMinutes();