This commit is contained in:
jxxghp
2023-07-11 08:20:16 +08:00
parent 6f000ea332
commit de30dc6ce1
3 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ export const formatSeconds = (seconds: number) => {
formattedTime += `${minutes}`;
}
if (remainingSeconds > 0 || formattedTime === '') {
if ((remainingSeconds > 0 || formattedTime === '') && hours <= 0) {
formattedTime += `${remainingSeconds}`;
}