Skip to content

fix(swift): preserve fractional date seconds - #3517

Open
schani wants to merge 1 commit into
fix/swift-calendar-validationfrom
fix/swift-fractional-date-encoding
Open

fix(swift): preserve fractional date seconds#3517
schani wants to merge 1 commit into
fix/swift-calendar-validationfrom
fix/swift-fractional-date-encoding

Conversation

@schani

@schani schani commented Sep 7, 2026

Copy link
Copy Markdown
Member

Swift's native .iso8601 encoding 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 Sendable compiles under Swift 6 strict concurrency, and the older-system fallback remains availability-guarded.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
163 changed lines — +159 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from eab17dc to 7904205 Compare September 7, 2026 15:16
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
178 changed lines — +174 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-lowercase-rfc3339 branch from 516a1de to 35b3f18 Compare September 7, 2026 15:27
@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from 7904205 to e2c6935 Compare September 7, 2026 15:27
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
178 changed lines — +174 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-lowercase-rfc3339 branch from 35b3f18 to c74b8d4 Compare September 7, 2026 18:00
@schani
schani changed the base branch from fix/swift-lowercase-rfc3339 to fix/swift-calendar-validation September 7, 2026 18:00
@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from e2c6935 to ddbaf85 Compare September 7, 2026 18:00
@schani
schani force-pushed the fix/swift-calendar-validation branch from 9b79b9f to d196c03 Compare September 7, 2026 18:02
@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from ddbaf85 to d29a8ef Compare September 7, 2026 18:02
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
190 changed lines — +186 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-calendar-validation branch from d196c03 to 2360350 Compare September 7, 2026 18:36
@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from d29a8ef to 38fc69e Compare September 7, 2026 18:36
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
190 changed lines — +186 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-calendar-validation branch from 2360350 to 248d262 Compare September 8, 2026 01:05
@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from 38fc69e to eab8335 Compare September 8, 2026 01:05
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
190 changed lines — +186 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from eab8335 to a01864b Compare September 8, 2026 01:35
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
190 changed lines — +186 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-calendar-validation branch from d6c6d18 to 655d656 Compare September 8, 2026 02:47
@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from a01864b to 600a7b6 Compare September 8, 2026 02:47
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
331 changed lines — +327 / −4

Open the generated-output report →

@schani
schani force-pushed the fix/swift-calendar-validation branch from 655d656 to f46fd23 Compare September 8, 2026 03:06
@schani
schani force-pushed the fix/swift-fractional-date-encoding branch from 600a7b6 to 3636e02 Compare September 8, 2026 03:06
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Generated-output differences

5 files differ — 4 modified, 1 new, 0 deleted
331 changed lines — +327 / −4

Open the generated-output report →

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.

1 participant