1
0
Fork 0

catch all fix for #3283

master
Erik Andresen 2024-03-22 21:02:40 +01:00
parent b135420a6b
commit 44e201326f
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ exports.getAlarms = function() {
};
// Write a list of alarms back to storage
exports.setAlarms = function(alarms) {
alarms.forEach(e => e.t %= 86400000); // Also fix #3281 from other apps, e.g. multitimer
return require("Storage").writeJSON("sched.json",alarms);
};
// Return an alarm object based on ID