Skip to content

Fixed comment on Calendar's compare method. #1418

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
Feb 2, 2018
Merged

Fixed comment on Calendar's compare method. #1418

merged 1 commit into from
Feb 2, 2018

Conversation

ArtSabintsev
Copy link
Contributor

The compare method on Calendar said orderedAscending twice, when it meant to say orderedAscending and orderedDescending.

This PR supercedes #1417.

cc @alblue & @parkera

@ianpartridge
Copy link
Contributor

Thanks. This is wrong in the overlay too: https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/Calendar.swift#L594

Can you open a PR to fix that too? They both need doing.

@ArtSabintsev
Copy link
Contributor Author

Sure! Will do it in a sec.

@alblue
Copy link
Contributor

alblue commented Feb 2, 2018

@swift-ci please test and merge

@ArtSabintsev
Copy link
Contributor Author

@ianpartridge Done - swiftlang/swift#14363

@swift-ci swift-ci merged commit f766437 into swiftlang:master Feb 2, 2018
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.

4 participants