We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can see unnecessary strings minute and second are printed in the Xcode console when I invoke below function. Please advise.
minute
second
Please note that SwiftDate version is 4.0.2
func secondsToTimeString(_ seconds: TimeInterval) -> String { let refDate = Date() let toDate = refDate + Int(seconds).seconds do { return try (refDate - toDate).string(unitStyle: .positional, max: 4, zero: nil, separator: ":", locale: nil)! } catch { return "" } }
The text was updated successfully, but these errors were encountered:
Fix for #269
2118282
Unnecessary strings are printed in Xcode console when printing timeComponents() [#269]
Thank you. It was fixed and will be part of the upcoming 4.0.3 release (see 2118282)
Sorry, something went wrong.
malcommac
No branches or pull requests
I can see unnecessary strings
minute
andsecond
are printed in the Xcode console when I invoke below function. Please advise.Please note that SwiftDate version is 4.0.2
The text was updated successfully, but these errors were encountered: