print for debug

master
Mineinjava 2023-11-10 13:36:09 -08:00
parent 72ab4b6b4b
commit b15c3e045a
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ E.on('notify',msg=>{
color: 0, color: 0,
allday: false allday: false
} }
Terminal.println("Calendar event " + calEvent.title + " received.")
calEvent.allday = calEvent.durationInSeconds >= 24 * 56 * 60 - 1; // 24 hours for IOS is 23:59:59 calEvent.allday = calEvent.durationInSeconds >= 24 * 56 * 60 - 1; // 24 hours for IOS is 23:59:59
var cal = require("Storage").readJSON("android.calendar.json",true); var cal = require("Storage").readJSON("android.calendar.json",true);