Description
Description
When the timeUntilAlarm
is calculated for displaying the Rings in XYZ
, it doesn't include the days part like Rings in 2 days
, but the implementation of timeUntilAlarm
is made so that it should show these days, too.
So, the timeUntilAlarm
has to be rechecked.
Steps to reproduce:
- Go to the add/update alarms page.
- Add an alarm and change its date to various options available.
- You will automatically see that the
Rings in XYZ
display on top isn't being calculated correctly.
Screenshots
E.g., I created a one-time alarm on various dates, and my current date and time is 19 April, 11:05 AM.
Date 19 Apr | Date 20 Apr |
---|---|
![]() |
![]() |
Date 22 Apr | Date 21 Apr |
---|---|
![]() |
![]() |