Skip to content

Foundation/Unit: add {m,u,p,n}second units to UnitDuration #4708

New issue

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

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

AndrewSB
Copy link
Contributor

not 100% sure this wasn't implemented elsewhere, but i didn't see these units

@compnerd
Copy link
Member

@swift-ci please test

@compnerd
Copy link
Member

@parkera this seems like a straightforward change, matches the current documentation at https://developer.apple.com/documentation/foundation/unitduration. I can't seem to find when the API was introduced, but existed prior to Xcode 14. Any objections to merging this?

@compnerd
Copy link
Member

@swift-ci please test Windows platform

@compnerd
Copy link
Member

@swift-ci please test Linux platform

@compnerd
Copy link
Member

:0: error: SwiftDriverTests.testToolSearching : threw error "failed to retrieve frontend target info"

Seems like a spurious failure.

@parkera parkera merged commit 8ffea5d into swiftlang:main Mar 30, 2023
@AndrewSB
Copy link
Contributor Author

AndrewSB commented Apr 6, 2023

as always, super appreciative of your cross platform work @compnerd. thanks for pushing to get this in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants