Compare commits

..

No commits in common. "260de525333c4535a571bfd45f45ea7dc56b1ec6" and "3d361845abc2366e659d612f7d4d9f6d51f1e865" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -374,9 +374,6 @@ extension Element {
}
func mostRecentElements(_ count: Int) -> [Element] {
guard self.thumbnailStyle == .large else {
return []
}
guard self.containsElements else {
return [self]
}

View File

@ -119,7 +119,9 @@ private func finish(start: Date, complete: Bool) {
print("--- SUMMARY ----------------------------------------")
print(" ")
let duration = Int(-start.timeIntervalSinceNow.rounded())
if duration < 3600 {
if duration < 60 {
print(" Duration: \(duration) s")
} else if duration < 3600 {
print(String(format: " Duration: %d:%02d", duration / 60, duration % 60))
} else {
print(String(format: " Duration: %d:%02d:%02d", duration / 3600, (duration / 60) % 60, duration % 60))