[multitimer] Timer cannot be set over the day end
Affected hardware version
Bangle 2
Your firmware version
2v25
The bug
The bug
When timer is being set to the point in time which must be in the next day, this timer is shown incorrectly (with negative hours and seconds) and fires at the wrong time (when the closest timer fires)
Expected behaviour
I expect a timer to fire after the given amount of time, while showing correct left time.
Steps to reproduce
Say when there is 23:40 of local time
- open the app
- set two timers: for 5 minutes and for 25 minutes with auto-removal after expiration
- look at the displayed time and see that the second timer is shown as
-24:41:-9instead of0:24:51 - wait for the first timer to fire and see that the second (with indication
25 min) also fired, and removed afterwards
Installed apps
No response
Thanks for the report - multitimer and the official alarm app both used the same scheduler library, did you see the issue with alarms too? (I notice multitimer has its own rendering, which explains the -24:41:-9 bug, which will be a separate fix to the scheduling bug)
Will be closed by #4082 and partly https://github.com/espruino/BangleApps/commit/44e201326f78bb59ea90c018caf6ea6f89f10480