Skip to content

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

@buzden

Description

@buzden

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions