Skip to content

Calendar fixes. #1472

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
Mar 13, 2018
Merged

Calendar fixes. #1472

merged 1 commit into from
Mar 13, 2018

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Mar 11, 2018

  • Fix Calendar.customMirror() to match behaviour on Darwin native
    Foundation (10.13.3) for firstWeekDay.

  • Update NSCalendar._symbol() to cast the CFDateFormatterCopyProperty()
    to a NSString not a CFString to fix NSCalendar.{amSymbol,pmSymbol}.
    This also allows un-XFAILing test_currentCalendarRRstability() which
    was failing on Linux because of this cast, not a refcounting issue
    as mentioned in SR-320.

- Fix Calendar.customMirror() to match behaviour on Darwin native
  Foundation (10.13.3) for firstWeekDay.

- Update NSCalendar._symbol() to cast the CFDateFormatterCopyProperty()
  to a NSString not a CFString to fix NSCalendar.{amSymbol,pmSymbol}.
  This also allows un-XFAILing test_currentCalendarRRstability() which
  was failing on Linux because of this cast, not a refcounting issue
  as mentioned in SR-320.
@spevans
Copy link
Contributor Author

spevans commented Mar 11, 2018

@swift-ci please test

@spevans spevans requested a review from phausler March 11, 2018 22:44
@spevans
Copy link
Contributor Author

spevans commented Mar 12, 2018

@swift-ci please test and merge

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.

3 participants