Skip to content

When the time spent working is smaller than the break time, the amounts are negative. #20

@stijuh

Description

@stijuh

For example, when the break is 30 minutes, and the time spent working is 15 minutes, it will be negative as the calculation of
15 - 30 = -15 * [money per hour] is performed.

This should be fixed by never subtracting the break time from work time if it will result in negative amounts (so when the break time is less than work time)

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