Mohammad-Musa / JS-Clock-

https://mohammad-musa.github.io/JS-Clock-/
MIT License
0 stars 0 forks source link

Creating Digital Clock at Homepage #2

Closed harunaltunhr closed 4 years ago

harunaltunhr commented 4 years ago
Mohammad-Musa commented 4 years ago

Everything is fine and it works perfectly but we have on issue: for instance if the current time is 02:09:03 the clock that we have shows the time like this : 2:9:3. it ignores adding (0) before the digit in case we have one digit. could you fix it please by adding a function to handle the time when it has one digit by adding 0 before it! thank you :)