Skip to content

fix(dart): accept lowercase RFC 3339 dates - #3511

Open
schani wants to merge 1 commit into
agent/javascript-prototype-mapfrom
fix/dart-lowercase-rfc3339
Open

fix(dart): accept lowercase RFC 3339 dates#3511
schani wants to merge 1 commit into
agent/javascript-prototype-mapfrom
fix/dart-lowercase-rfc3339

Conversation

@schani

@schani schani commented Sep 7, 2026

Copy link
Copy Markdown
Member

Dart's DateTime.parse accepts invalid calendar dates and rejects RFC 3339 lowercase t and z. Normalize the separators and verify calendar components before parsing.

Depends on #3509. Shared lowercase case 7 is introduced later with the Go fix, after every advertised backend supports it.

Production diff: 15 lines changed.

Validation with Dart 2.14.4: full Dart/schema-Dart fixtures pass; focused lowercase, invalid-calendar, year-zero, and offset-crossing samples pass.

@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from ca98d7a to 95f7298 Compare September 7, 2026 14:42
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

1087 files differ — 1087 modified, 0 new, 0 deleted
5797 changed lines — +5680 / −117

Open the generated-output report →

@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from 95f7298 to 7414789 Compare September 7, 2026 14:45
@schani
schani changed the base branch from agent/zod-date-time-validation-v2 to agent/javascript-prototype-map September 7, 2026 14:48
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

1087 files differ — 1087 modified, 0 new, 0 deleted
5797 changed lines — +5680 / −117

Open the generated-output report →

@schani
schani force-pushed the agent/javascript-prototype-map branch from eb56530 to 3287732 Compare September 7, 2026 14:52
@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch 2 times, most recently from 482f97c to e80b8c6 Compare September 7, 2026 14:53
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

64 files differ — 64 modified, 0 new, 0 deleted
746 changed lines — +629 / −117

Open the generated-output report →

@schani
schani force-pushed the agent/javascript-prototype-map branch 2 times, most recently from 78b0921 to a3a3db9 Compare September 7, 2026 15:08
@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from e80b8c6 to f9567a3 Compare September 7, 2026 15:12
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

64 files differ — 64 modified, 0 new, 0 deleted
746 changed lines — +629 / −117

Open the generated-output report →

@schani
schani force-pushed the agent/javascript-prototype-map branch 3 times, most recently from 345ba7c to d7cb7d8 Compare September 7, 2026 15:25
@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from f9567a3 to 6b1a4c3 Compare September 7, 2026 15:26
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

64 files differ — 64 modified, 0 new, 0 deleted
746 changed lines — +629 / −117

Open the generated-output report →

@schani
schani force-pushed the agent/javascript-prototype-map branch from d7cb7d8 to 7ec5b2c Compare September 7, 2026 17:55
@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from 6b1a4c3 to 36ea1c9 Compare September 7, 2026 18:00
@schani
schani force-pushed the agent/javascript-prototype-map branch from 7ec5b2c to 3b2b8a4 Compare September 7, 2026 18:01
@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from 36ea1c9 to 448cc9b Compare September 7, 2026 18:01
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

64 files differ — 64 modified, 0 new, 0 deleted
746 changed lines — +629 / −117

Open the generated-output report →

@schani
schani force-pushed the agent/javascript-prototype-map branch from 3b2b8a4 to 9972111 Compare September 8, 2026 02:46
@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from 448cc9b to d6ee70d Compare September 8, 2026 02:46
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Generated-output differences

64 files differ — 64 modified, 0 new, 0 deleted
746 changed lines — +629 / −117

Open the generated-output report →

@schani
schani force-pushed the agent/javascript-prototype-map branch from 9972111 to 34dfa6b Compare September 8, 2026 03:05
@schani
schani force-pushed the fix/dart-lowercase-rfc3339 branch from d6ee70d to 45dbcc5 Compare September 8, 2026 03:05
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Generated-output differences

64 files differ — 64 modified, 0 new, 0 deleted
746 changed lines — +629 / −117

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