Skip to content

Timer feature not allowing timer to span past midnight #20

@ntaylor562

Description

@ntaylor562

Timer feature isn't allowed to pass over midnight because of the way we calculate the time spent. If a timer is started at 11:59PM and stopped past midnight, the timer will be deleted. This could be easily fixed by posting getTime() rather than the date because getTime() returns milliseconds since Jan. 1, 1970 and we have a msToHours function that'll calculate the time. This way, the actual date has no play in the calculation and allows for a timer to go past midnight.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions