Skip to content

Bad time passed calculation when <24 hours #99

Description

@arajnoha

Installed fresh version from F-DROID today.
It seems that when I set a new addiction and mark a start time yesterday afternoon, it adds a day to the calculation.

It was 09:00 (9am) today (6th) and I set an addiction start to 23:20 (11:23pm) last night (5th). It showed me 1 day and 9 hours, as it would elapse another day since that.

a
b

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions