diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js index c66cf564..96476819 100644 --- a/frontend/src/utils/index.js +++ b/frontend/src/utils/index.js @@ -15,7 +15,7 @@ export function formatTime(seconds) { const days = Math.floor(seconds / (3600 * 24)) const hours = Math.floor((seconds % (3600 * 24)) / 3600) const minutes = Math.floor((seconds % 3600) / 60) - const remainingSeconds = seconds % 60 + const remainingSeconds = Math.floor(seconds % 60) let formattedTime = ''