Rob Pilling
bf0eb8a2f3
sched: fix snoozing an alarm after the snooze period
...
We now set the snooze period from when the user hits snooze,
not when the alarm sounded.
For example:
- Snooze period is 10 mins
- Alarm sounds for 11 mins
- User hits snooze
- Alarm is scheduled/snoozed until 23 hours 59 minutes in the future
2024-04-22 20:26:16 +01:00
Erik Andresen
db32e9df6e
alarm, sched: Fix #3281
...
Fix wrap around when snoozed through midnight
2024-03-21 22:06:13 +01:00
Rob Pilling
0dd67533ac
sched: emit alarmReload, widalarm reload on alarmReload
2024-03-03 19:34:24 +00:00
Rob Pilling
40b718ed49
sched: add setting to buzz forever when alarm is fired
2024-02-28 22:35:58 +00:00
Gordon Williams
4b2061e899
Update app metadata to make clockinfo apps easier to find
2023-04-28 09:59:11 +01:00
Gordon Williams
00980611e0
Merge branch 'master' into event_date_repeat
2023-03-07 11:23:13 +00:00
Erik Andresen
c3f11f90d5
sched: add interface.html
...
- Edit or delete existing events, add new
- Add events from iCalendar file
2023-02-02 18:39:08 +01:00
lauzonhomeschool
a1097a3eea
[sched, alarm] allow dated Event repeat
2023-01-24 22:10:31 -05:00
Marco H
ba9d615e06
Fix crash in clock_info
2023-01-19 20:22:59 +01:00
Kedlub
1839f7d52d
Alarm snooze and dismiss events
2023-01-18 14:11:35 +01:00
Gabriele Monaco
d768d0fe9c
sched: update clock_info to refresh periodically on active alarms/timers
2023-01-07 15:37:22 +01:00
Gordon Williams
8425f0b50a
Update clock_info to avoid a redraw/general tidyups
2022-12-16 15:40:58 +00:00
lauzonhomeschool
1a7f37ee8e
Update metadata.json
2022-12-15 19:58:36 -05:00
lauzonhomeschool
e0495a1b85
Update metadata.json
2022-12-09 12:02:42 -05:00
Gordon Williams
3e5c0538a9
Support for provides_widgets entry in metadata, and try and tag existing widgets
...
Support for 'default' tag and add it to apps that we expect would be used by default with the Bangle
split widalarm out of alarm
fixes https://github.com/espruino/BangleApps/issues/2353
2022-12-06 10:25:32 +00:00
thyttan
481ddb6a22
add more /*LANG*/ to some of the most installed apps
2022-12-01 21:03:15 +01:00
Gabriele Monaco
c8ee05a4b6
clkinfo: added sched and ranges in weather
2022-11-25 18:35:10 +01:00
Alessandro Cocco
a8382b0dc7
[Scheduler] Update metadata and changelog
2022-06-19 16:19:01 +02:00
Alessandro Cocco
b33cfc8c14
[Scheduler] Update metadata and changelog
2022-06-03 17:32:39 +02:00
Alessandro Cocco
c7f8322e3a
[Scheduler] Fix default dow
2022-05-20 18:19:34 +02:00
frigis1
29736d6133
Update metadata.json
2022-05-18 16:21:38 -07:00
Alessandro Cocco
94690a81ee
Add new time_utils module and move some functions from sched module to it
2022-05-13 15:25:28 +02:00
Erik Andresen
1d22050dc6
sched: add day of week check to getActiveAlarms()
2022-05-04 22:58:45 +02:00
storm64
052c1694d2
[Sched] Correct `decodeTime(t)` rounding
...
Correct `decodeTime(t)` to return a more likely expected time:
- before: `require("sched").decodeTime(60*60*1000-1)` returns: `{ hrs: 0, mins: 60 }`
- after: `require("sched").decodeTime(60*60*1000-1)` returns: `{ hrs: 1, mins: 0 }`
2022-04-21 23:01:39 +02:00
Erik Andresen
8c048f321c
Refactor some methods to scheduling library
2022-04-20 19:32:23 +02:00
Alessandro Cocco
cb0913468f
[Scheduler] Update metadata & changelog
2022-04-20 14:35:51 +02:00
storm64
9ab2fcdf31
sched: `getTimeToAlarm` check next dow if t<now
...
Fix undefined output of `getTimeToAlarm` on an alarm that is already in the past to check for the next dow instead of the actual dow.
>> add +1 to time.getDay() if alarm.t < currentTime
2022-04-08 21:24:24 +02:00
storm64
2c729af68c
sched: Fix `getTimeToAlarm` for timers
...
Only set `last` for alarms to prevent a wrong output of `getTimeToAlarm` for a timer already used at same day.
2022-04-07 19:47:45 +02:00
Gordon Williams
1dd232ffce
alarm fixes ( fix #1667 )
2022-04-07 15:47:01 +01:00
Gordon Williams
5c84ec9e2c
Refactored alarm into separate 'sched' library/app
2022-04-04 15:49:45 +01:00