Merge pull request #1745 from alessandrococco/fix-missing-module-call-after-merge

[Alarms & Timers] Fix #1735
master
Gordon Williams 2022-04-25 12:06:36 +01:00 committed by GitHub
commit 09cfe9bf37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -20,4 +20,5 @@
0.19: Ensure rescheduled alarms that already fired have 'last' reset
0.20: Use the new 'sched' factories to initialize new alarms/timers
0.21: Fix time reset after a day of week change (#1676)
0.22: Refactor some methods to scheduling library
0.22: Refactor some methods to scheduling library
0.23: Fix regression with Days of Week (#1735)

View File

@ -104,7 +104,7 @@ function editAlarm(alarmIndex, alarm) {
value: "SMTWTFS".split("").map((d,n)=>a.dow&(1<<n)?d:".").join(""),
onchange: () => editDOW(a.dow, d => {
a.dow = d;
a.t = encodeTime(t);
a.t = require("sched").encodeTime(t);
editAlarm(alarmIndex, a);
})
},

View File

@ -2,7 +2,7 @@
"id": "alarm",
"name": "Alarms & Timers",
"shortName": "Alarms",
"version": "0.22",
"version": "0.23",
"description": "Set alarms and timers on your Bangle",
"icon": "app.png",
"tags": "tool,alarm,widget",