Compare commits
No commits in common. "260de525333c4535a571bfd45f45ea7dc56b1ec6" and "3d361845abc2366e659d612f7d4d9f6d51f1e865" have entirely different histories.
260de52533
...
3d361845ab
@ -374,9 +374,6 @@ extension Element {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func mostRecentElements(_ count: Int) -> [Element] {
|
func mostRecentElements(_ count: Int) -> [Element] {
|
||||||
guard self.thumbnailStyle == .large else {
|
|
||||||
return []
|
|
||||||
}
|
|
||||||
guard self.containsElements else {
|
guard self.containsElements else {
|
||||||
return [self]
|
return [self]
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,9 @@ private func finish(start: Date, complete: Bool) {
|
|||||||
print("--- SUMMARY ----------------------------------------")
|
print("--- SUMMARY ----------------------------------------")
|
||||||
print(" ")
|
print(" ")
|
||||||
let duration = Int(-start.timeIntervalSinceNow.rounded())
|
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))
|
print(String(format: " Duration: %d:%02d", duration / 60, duration % 60))
|
||||||
} else {
|
} else {
|
||||||
print(String(format: " Duration: %d:%02d:%02d", duration / 3600, (duration / 60) % 60, duration % 60))
|
print(String(format: " Duration: %d:%02d:%02d", duration / 3600, (duration / 60) % 60, duration % 60))
|
||||||
|
Loading…
Reference in New Issue
Block a user