You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
I put off creating this for a while, as it's a little weird to reproduce, but I have managed to get it to happen on multiple occasions now, warranting an issue. I am not sure why any of this happens. It is weird.
Start the app.
Create an alarm, set for ex. 07:30 (24-hour time, though it shouldn't make a difference)
Look at the created alarm. It is set to 07:30.
Close the app (force-stop if necessary)
Start the app.
Look at the created alarm. It is set to 19:00. Wth.
I have also noticed a few weird discrepancies with repeating alarms ringing on the wrong day / not ringing on the right day. This may be caused by the same issue. I hope it is. Otherwise I need to create another issue.
The text was updated successfully, but these errors were encountered:
In AlarmData.getNext, when repeat is enabled, it always assumes that the next time the alarm will ring is the day after the current one - so if it were to be invoked on the day of the alarm, it would return the next (repeating) time it's scheduled to ring after the current day. To fix, I might have to set int day to something like (now.get(Calendar.DAY_OF_WEEK) + i - 1) % 7 so that the current day is also checked, or just rewrite the whole function to make it more readable.
I put off creating this for a while, as it's a little weird to reproduce, but I have managed to get it to happen on multiple occasions now, warranting an issue. I am not sure why any of this happens. It is weird.
I have also noticed a few weird discrepancies with repeating alarms ringing on the wrong day / not ringing on the right day. This may be caused by the same issue. I hope it is. Otherwise I need to create another issue.
The text was updated successfully, but these errors were encountered: