mirror of https://github.com/espruino/BangleApps
commit
6243e849c7
|
@ -4425,7 +4425,7 @@
|
|||
"name": "Q Alarm and Timer",
|
||||
"shortName": "Q Alarm",
|
||||
"icon": "app.png",
|
||||
"version": "0.03",
|
||||
"version": "0.04",
|
||||
"description": "Alarm and timer app with days of week and 'hard' option.",
|
||||
"tags": "tool,alarm,widget",
|
||||
"supports": ["BANGLEJS", "BANGLEJS2"],
|
||||
|
|
|
@ -3,3 +3,4 @@
|
|||
0.03: Fix unfreed memory, and clearInterval that disabled all clocks at midnight
|
||||
Fix app icon
|
||||
Change menu order so 'back' is at the top
|
||||
0.04: Fix alarm not activating sometimes.
|
||||
|
|
|
@ -143,7 +143,7 @@ let alarms = require("Storage").readJSON("qalarm.json", 1) || [];
|
|||
let active = alarms.filter(
|
||||
(alarm) =>
|
||||
alarm.on &&
|
||||
alarm.t < t &&
|
||||
alarm.t <= t &&
|
||||
alarm.last != time.getDate() &&
|
||||
(alarm.timer || alarm.daysOfWeek[time.getDay()])
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue