adityaputra11 / sholat-reminder

MIT License
23 stars 3 forks source link

feat: add string padding to time format #12

Closed fadhln closed 21 hours ago

fadhln commented 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.

This will resolve #10 which is to add extra "0" if the time value is one digit.