Pomodoro clock starting from session -1 second

Pomodoro clock starting from session -1 second
0

Update: I got this fixed, but it was pure trial and error. Luck even!

Can anyone explain to me why my session and break are starting from 1 second less than what they are set for?
my clock goes to 00:00 but when it starts a break for 05:00 it actually shows 04:59

It’s the final bug as I have everything else working. I am sooo close to my cert.

My codepen is : https://codepen.io/sonnerz/pen/OJJPmYb

If you want to start break at 05:00 mark and end it on 00:00, then it’s actually 5 minutes and 1 second, so starting at 04:59 is totally correct to me :slight_smile: