Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[multitimer] Timer cannot be set over the day end #3693

Open
buzden opened this issue Dec 11, 2024 · 1 comment
Open

[multitimer] Timer cannot be set over the day end #3693

buzden opened this issue Dec 11, 2024 · 1 comment

Comments

@buzden
Copy link
Contributor

buzden commented Dec 11, 2024

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:-9 instead of 0: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

@bobrippling
Copy link
Collaborator

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants