Skip to content

fix(python): validate ISO date-times - #3518

Merged
schani merged 1 commit into
agent/effect-date-time-validation-v2from
fix/python-iso-date-time
Sep 8, 2026
Merged

fix(python): validate ISO date-times#3518
schani merged 1 commit into
agent/effect-date-time-validation-v2from
fix/python-iso-date-time

Conversation

@schani

@schani schani commented Sep 7, 2026

Copy link
Copy Markdown
Member

Python's time converter rejected lowercase z, while its permissive date-time parser accepted malformed and impossible ISO dates. Accept lowercase UTC markers and use dateutil.parser.isoparse for date-times.

Depends on #3512. This prepares Python for shared malformed case 8, introduced by #3509.

Production diff: 4 lines changed.

Validation: all 88 Python schema fixtures pass.

@schani
schani force-pushed the agent/javascript-prototype-map branch from 78b0921 to a3a3db9 Compare September 7, 2026 15:08
@schani
schani force-pushed the fix/python-iso-date-time branch from c6f050f to a47f0ca Compare September 7, 2026 15:15
@schani
schani force-pushed the agent/javascript-prototype-map branch from a3a3db9 to 5e700f5 Compare September 7, 2026 15:17
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

34 files differ — 34 modified, 0 new, 0 deleted
72 changed lines — +36 / −36

Open the generated-output report →

@schani
schani force-pushed the agent/javascript-prototype-map branch from 5e700f5 to 345ba7c Compare September 7, 2026 15:20
@schani
schani force-pushed the fix/python-iso-date-time branch from a47f0ca to 2ea2218 Compare September 7, 2026 15:23
@schani
schani force-pushed the agent/javascript-prototype-map branch from 345ba7c to d7cb7d8 Compare September 7, 2026 15:25
@schani
schani force-pushed the fix/python-iso-date-time branch from 2ea2218 to 2688b5a Compare September 7, 2026 15:26
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

34 files differ — 34 modified, 0 new, 0 deleted
72 changed lines — +36 / −36

Open the generated-output report →

@schani
schani force-pushed the fix/python-iso-date-time branch from 2688b5a to 0a4bddc Compare September 7, 2026 17:55
@schani
schani changed the base branch from agent/javascript-prototype-map to agent/effect-date-time-validation-v2 September 7, 2026 17:55
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

1192 files differ — 1191 modified, 1 new, 0 deleted
5816 changed lines — +415 / −5401

Open the generated-output report →

@schani
schani force-pushed the agent/effect-date-time-validation-v2 branch from 86e638b to 97aadbe Compare September 7, 2026 18:01
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Generated-output differences

34 files differ — 34 modified, 0 new, 0 deleted
72 changed lines — +36 / −36

Open the generated-output report →

@schani
schani merged commit 2eeb64d into agent/effect-date-time-validation-v2 Sep 8, 2026
35 checks passed
@schani
schani deleted the fix/python-iso-date-time branch September 8, 2026 01:46
schani added a commit that referenced this pull request Sep 8, 2026
schani added a commit that referenced this pull request Sep 8, 2026
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