1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-13 14:53:28 +00:00

Print progress logs when verifying chunks (check -chunks)

This commit is contained in:
Gilbert Chen
2020-09-23 09:02:53 -04:00
parent 73ae3f809e
commit d0b3b5dc2e
2 changed files with 33 additions and 5 deletions

View File

@@ -434,7 +434,7 @@ func PrettyTime(seconds int64) string {
seconds/day, (seconds%day)/3600, (seconds%3600)/60, seconds%60)
} else if seconds > day {
return fmt.Sprintf("1 day %02d:%02d:%02d", (seconds%day)/3600, (seconds%3600)/60, seconds%60)
} else if seconds > 0 {
} else if seconds >= 0 {
return fmt.Sprintf("%02d:%02d:%02d", seconds/3600, (seconds%3600)/60, seconds%60)
} else {
return "n/a"