Tony Parker

Results 85 comments of Tony Parker

Maybe we just give interested parties a heads up by creating a thread in the Foundation section, in case they don't follow the other evolution threads on the forums.

We're seeing what options we have for mitigating the impact to customers.

We do have the newer IntervalFormatStyle here: https://github.com/apple/swift-foundation/blob/4a0637fba3cdd9c520a9ac5ab92b4c124491bd88/Sources/FoundationInternationalization/Formatting/Date/Date%2BIntervalFormatStyle.swift and RelativeFormatStyle here: https://github.com/apple/swift-foundation/blob/4a0637fba3cdd9c520a9ac5ab92b4c124491bd88/Sources/FoundationInternationalization/Formatting/Date/Date%2BRelativeFormatStyle.swift

`Date.ComponentsFormatStyle` needs to be ported still.

@beltradini did you make any progress on your proposed change?

Returning a DateComponents would be a great way to address this and unlock other use cases as well.

Was this fixed in https://github.com/swiftlang/swift-foundation/pull/1425? @fabianfett

You should be able to use the version-specific manifest to support this by creating a 5.x Package.swift and then setting swift-tools-version to 6.1. See [here](https://github.com/swiftlang/swift-package-manager/blob/main/Documentation/Usage.md?plain=1#L510) for more details.