malcommac / SwiftDate

🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
MIT License
7.61k stars 767 forks source link

Difference in timeInterval.toClock result #821

Open kiddten opened 9 months ago

kiddten commented 9 months ago

I wonder why

let value = (75.minutes).timeInterval.toClock() // 01:15:00

But

let value = (65.minutes).timeInterval.toClock() // 65:00

Same with seconds

marianstiehler commented 9 months ago

I have been wondering the same thing.