Skip to content

fix: address AST date vs datetime parsing issues - #319

Merged
gabor-boros merged 1 commit into
masterfrom
ast-expr-parsing
Nov 16, 2026
Merged

gabor-boros merged 1 commit into
masterfrom
ast-expr-parsing

Conversation

@gabor-boros

Copy link
Copy Markdown
Member

Reason for the change

Fixes #272.

Description

This PR fixes the above mentioned bug and AST parses the dates as ISO8601 objects.

Code examples

from datetime import date
from rethinkdb import r

conn = r.connect()

r.table_create("test_date").run(conn)
r.table("test_date").wait().run(conn)
r.table("test_date").insert({"id": 1, "date": date(2016, 1, 1)})

Checklist

References

N/A

@gabor-boros
gabor-boros merged commit 72bae52 into master Nov 16, 2026
13 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 16, 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.

Python driver incorrectly requires datetime.date type to have tzinfo

1 participant