Closed fadhln closed 21 hours ago
In this PR, I changed the function name calculateCownDown to calculateCountdown. Additionally, I also added .padStart(2, "0") to the new calculateCountdown function.
calculateCownDown
calculateCountdown
.padStart(2, "0")
This will resolve #10 which is to add extra "0" if the time value is one digit.
"0"
In this PR, I changed the function name
calculateCownDown
tocalculateCountdown
. Additionally, I also added.padStart(2, "0")
to the newcalculateCountdown
function.This will resolve #10 which is to add extra
"0"
if the time value is one digit.