Skip to content
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

Parity: TimeZone.local, TimeZone.timeZoneDataVersion #2080

Merged
merged 2 commits into from Apr 11, 2019
Merged

Parity: TimeZone.local, TimeZone.timeZoneDataVersion #2080

merged 2 commits into from Apr 11, 2019

Conversation

millenomi
Copy link
Contributor

@millenomi millenomi commented Apr 10, 2019

Add __NSLocalTimeZone; the name is chosen so as to be NSCoding-compatible with Darwin. Make sure NSTimeZone.local and TimeZone.autoupdatingCurrent return it.

Implement .timeZoneDataVersion the same way as it is in Darwin.

Re-enable the setter for .abbreviationDictionary. We'll fix its bugs rather than crashing.

Fixes https://bugs.swift.org/browse/SR-10348, https://bugs.swift.org/browse/SR-10349

Add __NSLocalTimeZone; the name is chosen so as to be NSCoding-compatible with Darwin. Make sure NSTimeZone.local and TimeZone.autoupdatingCurrent return it.

Implement .timeZoneDataVersion the same way as it is in Darwin.

Re-enable the setter for .abbreviationDictionary.
@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@compnerd
Copy link
Collaborator

@swift-ci please test

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.

None yet

2 participants