frontend-interview-questions icon indicating copy to clipboard operation
frontend-interview-questions copied to clipboard

[Bug] : In CountDown project, there is one second delay when seconds value is greater than 60.

Open aashikofsach opened this issue 2 months ago • 0 comments
trafficstars

Problem : ( similar kind of error may be exist in other case possible here I am only discussing about second count down timer case) ;

If the user enter the value greater than 60, suppose 00:00:61 , then after one second delay clock getting formated to 00:01:01, which seems that time stops for one second here .

Solution : The right countdown happens to be when, when user enters any value in greater than 60 like -> 00:00:65 and then after next one sec delay we gets 00:01:04 .

aashikofsach avatar Sep 06 '25 03:09 aashikofsach