-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
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
Labels
No labels