Skip to content

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