Tina L
Tina L
If locale's preferences specifies a custom date format for the given date style, use what's given as-is instead of generating a date pattern from the date style. Realistically this only...
This section is adapted from [that of Swift-Evolution](https://github.com/apple/swift-evolution/blob/main/process.md#review-announcement)
There are several places where we log with `os.Logger`. However the `os` module is only available on Darwin platforms. We should figure out the story for logging.
We temporarily guarded regex parsing implementation using FOUNDATION_FRAMEWORK in #1268 so that this would not affect downstream projects of FoundationEssentials. We'll want to enable that for non-framework builds.
Proposal: https://github.com/swiftlang/swift-foundation/pull/1247/files
Propose extending `Locale.Region` to support grouping the return result by types, such as whether it's a territory or continent. Implementation: https://github.com/swiftlang/swift-foundation/pull/1253
The info about building and running *Benchmarks* is broken / missing / misleading. ``` SWIFTCI_USE_LOCAL_DEPS=.. swift package benchmark ``` doesn’t work, it needs to be `../..` — and then (because...
#1151 disables a test that would fail with ICU-76. Re-enable or update the test expectation when we have a fix.
Here are some examples: ```swift print(Locale(languageCode: "", script: "", languageRegion: "").identifier) // "-_" let languageComponents = Locale.Language.Components(language: .init(identifier:"")) print(Locale(languageComponents: languageComponents).identifier) // "-Latn" ``` Fix this by handling empty identifiers passed...
`Locale.LanguageCode` and `Locale.ScriptCode` defines common language and script codes as static vars for easy access, [such as](https://github.com/swiftlang/swift-foundation/blob/94adc6a958e10d759304dc37bcdb3b59f011e996/Sources/FoundationEssentials/Locale/Locale%2BComponents.swift#L899) ```swift @_alwaysEmitIntoClient public static var danish: Locale.LanguageCode { Locale.LanguageCode("da") } ``` We can...