Skip to content

Time in seconds is off #43

@tforward

Description

@tforward

Starting a timer and noticing the time in seconds skips sometimes. Like in a 25 min timer
[25:58, 25:57] and 25:59 is missing. Also have had 25:58 missing and 25:59 showing.

Sometime will repeat the same number in general overtime

`function displayTime(timer) {
const currentTime = timer.msToTimecode(timer.lap());
// console.log(timer.msToTimecode(timer.lap()));
const timeMMSS = currentTime.substring(3, 8);
console.log(currentTime);
}

function getTimer() {
const timer = new Tock({
countdown: true,
interval: 1000,
callback: displayTime
// complete: someCompleteFunction
});
return timer;
}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions