Skip to content

SR-14108: Implement copy() in DateFormatter. #3008

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 2 commits into from
Jul 17, 2021
Merged

Conversation

YOCKOW
Copy link
Member

@YOCKOW YOCKOW commented Jul 14, 2021

DateFormatter.copy() returns the same instance not a copied one so far.
This PR adds an implementation of copy() in DateFormatter to behave expectedly(i.e. The same behavior with DarwinFoundation).

Resolves SR-14108.

@spevans
Copy link
Contributor

spevans commented Jul 14, 2021

@swift-ci test

1 similar comment
@spevans
Copy link
Contributor

spevans commented Jul 14, 2021

@swift-ci test

@YOCKOW
Copy link
Member Author

YOCKOW commented Jul 15, 2021

@spevans
Thank you for running tests.
The failure on macOS seems to be unrelated.

Copy link
Contributor

@spevans spevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran the test under DarwinCompatibiityTests and it works fine on BigSur 1.4.4

@spevans spevans merged commit 0e4e031 into swiftlang:main Jul 17, 2021
@spevans
Copy link
Contributor

spevans commented Jul 17, 2021

@YOCKOW Its probably worth doing a back port of this 5.5 and 5.4 since its a bug fix.

@YOCKOW
Copy link
Member Author

YOCKOW commented Jul 18, 2021

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.

2 participants