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
68fa1253a5
ChangeLog 0.17 midnight in local timezone
2022-12-15 19:58:20 -05:00
lauzonhomeschool
533d669395
boot.js - fix midnight in local timezone
2022-12-15 18:57:48 -05:00
lauzonhomeschool
e0495a1b85
Update metadata.json
2022-12-09 12:02:42 -05:00
lauzonhomeschool
0502e90489
Update ChangeLog
2022-12-09 12:02:15 -05:00
lauzonhomeschool
a9f0b83e11
boot.js toLocalISOString
2022-12-08 17:50:46 -05:00
lauzonhomeschool
c483cbc067
lib.js support timezone - toLocalISOString
...
Test scenario:
E.setTimeZone(-8);
date = new Date("2022-12-05T23:00");
date.toLocalISOString(); // -> "2022-12-05T23:00:00.000-0800"
getActiveAlarms([{on: true, t: 0, dow: 0b1111111, date: "2022-12-05"}], date); //should be marked as active, but isn't
getActiveAlarms([{on: true, t: 0, dow: 0b1111111, date: "2022-12-06"}], date); //should not be marked as active, but it is because it is already "tomorrow" in UTC
2022-12-08 17:48:56 -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
18d91bf5f9
Added short field and general clkinfo improvements
2022-11-25 18:50:38 +01:00
Gabriele Monaco
4ff8e9a52c
Fixed sched clkinfo icons and sorting
2022-11-25 18:35:10 +01:00
Gabriele Monaco
c8ee05a4b6
clkinfo: added sched and ranges in weather
2022-11-25 18:35:10 +01:00
Gordon Williams
b2bb45d878
improve sched readme
2022-09-09 09:37:10 +01:00
Alessandro Cocco
a8382b0dc7
[Scheduler] Update metadata and changelog
2022-06-19 16:19:01 +02:00
Alessandro Cocco
a8116f3e49
[Scheduler] Add "delete timer at expiration" option
2022-06-19 16:19:01 +02:00
Alessandro Cocco
f5f1cc7523
[Scheduler] Improve code readability
2022-06-19 16:19:01 +02:00
Alessandro Cocco
19c3e0e20e
[Scheduler] Remove custom boolean formatter
...
The new menu system handles booleans by default
2022-06-12 21:49:56 +02:00
Alessandro Cocco
b33cfc8c14
[Scheduler] Update metadata and changelog
2022-06-03 17:32:39 +02:00
Alessandro Cocco
a1c214a502
[Scheduler] Set default patterns to "strong"
2022-06-03 17:32:09 +02:00
Alessandro Cocco
061fec4826
[Scheduler] Show timer using formatDuration
2022-06-03 17:29:57 +02:00
Alessandro Cocco
9ac54459b4
[Scheduler] Fallback to configured default patterns
2022-06-03 17:29:57 +02:00
Alessandro Cocco
13c3e13cde
[Scheduler] Update label
2022-06-03 17:29:57 +02:00
Gordon Williams
d3a0128bc8
Revert "Update boot.js"
...
The old code was fine, and this broke it
This reverts commit 2351340a73
.
2022-05-23 10:34:18 +01:00
Alessandro Cocco
c7f8322e3a
[Scheduler] Fix default dow
2022-05-20 18:19:34 +02:00
Alessandro Cocco
531cf4b5f9
[Scheduler] Improve readability of some filters
...
The common conditions are now in the same order
2022-05-20 18:17:48 +02:00
frigis1
29736d6133
Update metadata.json
2022-05-18 16:21:38 -07:00
frigis1
f92415c780
Update lib.js
2022-05-18 01:08:37 -07:00
frigis1
8525d862b1
Update lib.js
2022-05-18 00:55:54 -07:00
frigis1
7a64faf1c5
Update ChangeLog
2022-05-17 23:41:24 -07:00
frigis1
2351340a73
Update boot.js
2022-05-17 23:39:51 -07:00
Alessandro Cocco
f22f113687
[Alarms & Timers] Full UI rewrite
2022-05-13 15:25:28 +02: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
43d696e90b
sched: Fix typo
2022-05-04 23:09:04 +02:00
Erik Andresen
1d22050dc6
sched: add day of week check to getActiveAlarms()
2022-05-04 22:58:45 +02:00
Gordon Williams
d04674305e
Quick tweaks for recent PR
2022-04-25 14:02:12 +01:00
Gordon Williams
d740a2bdf3
Merge branch 'master' into sched-update-settings
2022-04-25 12:00:40 +01:00
Alessandro Cocco
1eab970caa
[Scheduler] Add "Default Repeat" to settings
2022-04-24 16:26:30 +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
storm64
662581bff0
[sched] Update lib.js
...
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 22:05:12 +02:00
Erik Andresen
5e847a56fd
sched: fix formatTime reference
2022-04-20 20:26:06 +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
Alessandro Cocco
9c9b48ce39
[Scheduler] Integrate the new settings into the code
2022-04-20 14:35:51 +02:00
Alessandro Cocco
a84c1d4f77
[Scheduler] Add Settings page
2022-04-20 14:35:50 +02:00
Alessandro Cocco
b0a43413c8
[Scheduler] Export new functions
...
- newDefaultAlarm
- newDefaultTimer
- get/setSettings
2022-04-20 14:35:50 +02:00
storm64
c4b7c798d2
sched: Ensure dow wrap, Sa(6)+1 = Su(0)
2022-04-09 14:46:08 +02:00