Skip to content

Bug: The Calculation of timeUntilAlarm is **Not** working as expected when comes to days #827

@Gaurav-Kushwaha-1225

Description

@Gaurav-Kushwaha-1225

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:

  1. Go to the add/update alarms page.
  2. Add an alarm and change its date to various options available.
  3. 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
Image Image
Date 22 Apr Date 21 Apr
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions