We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da79ac9 commit 6db666dCopy full SHA for 6db666d
1 file changed
Doc/library/sqlite3.rst
@@ -2288,7 +2288,7 @@ This section shows recipes for common adapters and converters.
2288
2289
def adapt_datetime_iso(val):
2290
"""Adapt datetime.datetime to timezone-naive ISO 8601 date."""
2291
- return val.isoformat()
+ return val.replace(tzinfo=None).isoformat()
2292
2293
def adapt_datetime_epoch(val):
2294
"""Adapt datetime.datetime to Unix timestamp."""
0 commit comments