Skip to content

Add support for ISO8601 calendar and others #677

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
Oct 7, 2016
Merged

Add support for ISO8601 calendar and others #677

merged 1 commit into from
Oct 7, 2016

Conversation

alblue
Copy link
Contributor

@alblue alblue commented Oct 7, 2016

The list of valid keys did not include the ISO8601 calendar, which
meant that code running on Linux that used it would fail. Fix this
by adding the kCFISO8601Calendar and others into the list of known
constants valid for calendars, and add tests for the Gregorian
calendar, as well as for creating all other calendars.

Issue: SR-2551

The list of valid keys did not include the ISO8601 calendar, which
meant that code running on Linux that used it would fail. Fix this
by adding the kCFISO8601Calendar and others into the list of known
constants valid for calendars, and add tests for the Gregorian
calendar, as well as for creating all other calendars.

Issue: SR-2551
@parkera
Copy link
Contributor

parkera commented Oct 7, 2016

@swift-ci please test

@parkera parkera closed this Oct 7, 2016
@parkera parkera reopened this Oct 7, 2016
@parkera
Copy link
Contributor

parkera commented Oct 7, 2016

Ack. Hit the wrong button. =)

@alblue
Copy link
Contributor Author

alblue commented Oct 7, 2016

Yeah I did that with the other pull request accidentally as well :-) Still, at least the tests worked out this time.

@parkera parkera merged commit e170040 into swiftlang:master Oct 7, 2016
@alblue
Copy link
Contributor Author

alblue commented Oct 7, 2016

Thanks!

@alblue alblue deleted the sr2551 branch October 7, 2016 22:37
parkera pushed a commit that referenced this pull request Oct 13, 2016
* Retain localeID when constructing a Calendar

The Calendar destructor releases stored values when the
Calendar is being deallocated, including releasing the localeID.

By default this is an empty string (kCFEmptyString) which results
in multiple Calendars causing a fault when it is over-released.
Ensure that instead the localeID is retained to balance the
release when it is cleaned up.

Issue: SR-2879

* Add support for ISO8601 calendar and others (#677)

The list of valid keys did not include the ISO8601 calendar, which
meant that code running on Linux that used it would fail. Fix this
by adding the kCFISO8601Calendar and others into the list of known
constants valid for calendars, and add tests for the Gregorian
calendar, as well as for creating all other calendars.

Issue: SR-2551
pushkarnk pushed a commit to pushkarnk/swift-corelibs-foundation that referenced this pull request Oct 17, 2016
The list of valid keys did not include the ISO8601 calendar, which
meant that code running on Linux that used it would fail. Fix this
by adding the kCFISO8601Calendar and others into the list of known
constants valid for calendars, and add tests for the Gregorian
calendar, as well as for creating all other calendars.

Issue: SR-2551
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