Tony Parker

Results 85 comments of Tony Parker

I think the main risk to changing the behavior would be if some app: 1. Puts `date.description` directly in a UI 2. The user of that app has a non-gregorian...

That's possible, and this is actually one of the best types to do that for since it is a very simple memory layout. I'm not sure if lldb has the...

We're getting closer to being able to just use Foundation's own date/time calculations for this.

@FranzBusch What do you think about refactoring this on top of the newly landed Gregorian calendar and ISO8601 formatting changes?

I agree with @itingliu -- we can add an internal-only option to the format style to prefer `+0000` to `Z`. If it's interesting for other use cases beyond our one...

This line would just need an additional `if`: https://github.com/apple/swift-foundation/blob/f99560eea639311a0689c70284038ba0898f3dac/Sources/FoundationEssentials/Formatting/Date%2BISO8601FormatStyle.swift#L466