Skip to content

alarms based on dynamic time are issued twice, half of the year #911

@tremon015

Description

@tremon015

Describe the bug
I have a repeatable alarm set based on apparent solar time. This works fine, except that when I dismiss the alarm and the days are getting longer, the alarm triggers again after just a few minutes. I suspect the next-event calculation only looks at the time part of the next event, and doesn't consider the case where "future events" might be just 1 minute from now.

To Reproduce
Steps to reproduce the behavior:

  1. Set an alarm based on dynamic time
  2. Choose a schedule that occurs at a later time each day for your current location
  3. Wait for the alarm and dismiss it
  4. Observe the next alarm triggering in just a few minutes

Expected behavior
It would be nice if Suntimes could detect when the next scheduled event is only a few minutes away, and skip it.

Screenshots
If applicable, add screenshots to help explain the problem.

Version Info:

  • App Version: 0.16.12
  • Android Version: 12 (/e/OS 3.2-s official)
  • Device Model: Teracube 2e

Additional context
Add any other information about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions