Skip to content

Conversation

@itingliu
Copy link
Contributor

@itingliu itingliu commented Dec 2, 2025

ICU expects time zone identifiers to be IANA identifiers, such as "America/Los_Angeles". Hence names such as "UTC+9" aren't officially supported.

There is a canonicalization function available, but I did not remember to use it when switching to the new ICU uatimezone SPI.

Fix this by always using the canonicalized version to initiate an ICU timezone object.

164490980

ICU expects time zone identifiers to be IANA identifiers, such as "America/Los_Angeles". Hence names such as "UTC+9" aren't officially supported.

There is a canonicalization function available, but I did not remember to use it when switching to the new ICU `uatimezone` SPI.

Fix this by always using the canonicalized version to initiate an ICU timezone object.

164490980
@itingliu
Copy link
Contributor Author

itingliu commented Dec 2, 2025

@swift-ci please test

@itingliu itingliu requested a review from jmschonfeld December 3, 2025 02:18
@itingliu itingliu merged commit 0966307 into swiftlang:release/6.3 Dec 3, 2025
21 checks passed
@itingliu itingliu deleted the pr/3565 branch December 3, 2025 21:50
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