fix(swift, native): validate RFC 3339 date-times - #3515
Open
schani wants to merge 3 commits into
Open
Conversation
Generated-output differences374 files differ — 374 modified, 0 new, 0 deleted |
schani
force-pushed
the
agent/zod-date-time-validation-v2
branch
3 times, most recently
from
September 7, 2026 15:25
a8cf6b3 to
2399eed
Compare
schani
force-pushed
the
fix/swift-lowercase-rfc3339
branch
from
September 7, 2026 15:27
516a1de to
35b3f18
Compare
Generated-output differences374 files differ — 374 modified, 0 new, 0 deleted |
schani
force-pushed
the
agent/zod-date-time-validation-v2
branch
from
September 7, 2026 17:52
2399eed to
d328bcc
Compare
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
agent/zod-date-time-validation-v2
to
fix/dart-lowercase-rfc3339
September 7, 2026 18:00
schani
force-pushed
the
fix/dart-lowercase-rfc3339
branch
from
September 7, 2026 18:01
36ea1c9 to
448cc9b
Compare
schani
force-pushed
the
fix/swift-lowercase-rfc3339
branch
from
September 7, 2026 18:02
c74b8d4 to
5261688
Compare
Generated-output differences374 files differ — 374 modified, 0 new, 0 deleted |
schani
force-pushed
the
fix/dart-lowercase-rfc3339
branch
from
September 8, 2026 02:46
448cc9b to
d6ee70d
Compare
schani
force-pushed
the
fix/swift-lowercase-rfc3339
branch
from
September 8, 2026 02:47
c07cb7d to
f362b87
Compare
Generated-output differences469 files differ — 469 modified, 0 new, 0 deleted |
schani
force-pushed
the
fix/dart-lowercase-rfc3339
branch
from
September 8, 2026 03:05
d6ee70d to
45dbcc5
Compare
schani
force-pushed
the
fix/swift-lowercase-rfc3339
branch
from
September 8, 2026 03:05
f362b87 to
8dd8013
Compare
Generated-output differences469 files differ — 469 modified, 0 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 decoders rejected RFC 3339 lowercase
tandz. Normalize decoded strings before applying the existing date strategy in both Foundation variants.PHP, Objective-C, and C++ accepted malformed calendar dates through permissive native parsers. Tighten their ISO date-time checks and add shared month-zero case 12, which each backend accepted before these fixes and rejects afterward.
Depends on #3511. Shared lowercase case 7 remains reserved for the pending Go fix.
Production diffs:
Validation: