fix(swift): preserve fractional date seconds - #3517
Open
schani wants to merge 1 commit into
Open
Conversation
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 7, 2026 15:16
eab17dc to
7904205
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-lowercase-rfc3339
branch
from
September 7, 2026 15:27
516a1de to
35b3f18
Compare
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 7, 2026 15:27
7904205 to
e2c6935
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-lowercase-rfc3339
branch
from
September 7, 2026 18:00
35b3f18 to
c74b8d4
Compare
schani
changed the base branch from
fix/swift-lowercase-rfc3339
to
fix/swift-calendar-validation
September 7, 2026 18:00
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 7, 2026 18:00
e2c6935 to
ddbaf85
Compare
schani
force-pushed
the
fix/swift-calendar-validation
branch
from
September 7, 2026 18:02
9b79b9f to
d196c03
Compare
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 7, 2026 18:02
ddbaf85 to
d29a8ef
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-calendar-validation
branch
from
September 7, 2026 18:36
d196c03 to
2360350
Compare
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 7, 2026 18:36
d29a8ef to
38fc69e
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-calendar-validation
branch
from
September 8, 2026 01:05
2360350 to
248d262
Compare
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 8, 2026 01:05
38fc69e to
eab8335
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 8, 2026 01:35
eab8335 to
a01864b
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-calendar-validation
branch
from
September 8, 2026 02:47
d6c6d18 to
655d656
Compare
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 8, 2026 02:47
a01864b to
600a7b6
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
schani
force-pushed
the
fix/swift-calendar-validation
branch
from
September 8, 2026 03:06
655d656 to
f46fd23
Compare
schani
force-pushed
the
fix/swift-fractional-date-encoding
branch
from
September 8, 2026 03:06
600a7b6 to
3636e02
Compare
Generated-output differences5 files differ — 4 modified, 1 new, 0 deleted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Swift's native
.iso8601encoding drops nonzero milliseconds, changing round-tripped date-time values. Use an ISO 8601 formatter that adds fractional seconds only when present.Depends on #3521 and introduces unchanged positive fractional case 10.
Production diff: 12 lines changed.
Validation: full Swift/schema-Swift fixtures pass; the stacked date-time fixture passes across ten affected backends. Native output with
Sendablecompiles under Swift 6 strict concurrency, and the older-system fallback remains availability-guarded.