Merge pull request #934 from Ronin0000/master

Fix School Calendar Bug
master
Gordon Williams 2021-11-23 15:40:09 +00:00 committed by GitHub
commit a1eeadfc22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 11 deletions

View File

@ -1,6 +0,0 @@
// check for alarms
(function() {
var alarms = require('Storage').readJSON('schoolCalendarAlarms.json',1)||[];
var time = new Date();
E.showPrompt("School Calendar Alarm Test");
})();

View File

@ -173,11 +173,7 @@ function updateDay(ffunction,day){
} }
} }
function getScheduleTable() { function getScheduleTable() {
let schedule = [//Monday: let schedule = ${JSON.stringify(schedule)};
{cn: "Biblical Theology", dow:1, sh: 8, sm: 10, eh:9, em: 5, r:"207", t:"Mr. Besaw"},
{cn: "English", dow:1, sh: 9, sm: 5, eh:10, em: 0, t:"Dr. Wong"},
{cn: "Break", dow:1, sh: 10, sm: 0, eh:10, em: 10, t:""},
{cn: "MS Robotics", dow:1, sh: 10, sm: 10, eh:11, em: 0, r:"211", t:"Mr. Broyles"}];//${JSON.stringify(schedule)};
logDebug(JSON.stringify(schedule)); logDebug(JSON.stringify(schedule));
return schedule; return schedule;
} }