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

CoreFoundation: add US/Pacific TimeZone mapping for Windows #3043

Merged
merged 1 commit into from
Aug 14, 2021

Conversation

compnerd
Copy link
Member

Windows does not have the same timezone information available as the
other platforms. We import a subset of the CLDR (due to duplicate
mappings) into Foundation to provide the translation.
TestCalendar/test_nextDate usees US/Pacific for a test case.
Explicitly add this to the Olson -> Windows mapping. We cannot provide
a Windows -> Olson mapping entry for this value as that would have
multiple values for the canonical America/Los_Angeles key. This
repairs the TestCalendar/test_nextDate test case on Windows.

Windows does not have the same timezone information available as the
other platforms.  We import a subset of the CLDR (due to duplicate
mappings) into Foundation to provide the translation.
`TestCalendar/test_nextDate` usees `US/Pacific` for a test case.
Explicitly add this to the Olson -> Windows mapping.  We cannot provide
a Windows -> Olson mapping entry for this value as that would have
multiple values for the canonical `America/Los_Angeles` key.  This
repairs the `TestCalendar/test_nextDate` test case on Windows.
@millenomi
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit e673722 into swiftlang:main Aug 14, 2021
@compnerd compnerd deleted the pacific branch August 14, 2021 01:19
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