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.
sqlite3
1 parent 90717c2 commit d675de7Copy full SHA for d675de7
Doc/library/sqlite3.rst
@@ -2289,7 +2289,7 @@ This section shows recipes for common adapters and converters.
2289
2290
def adapt_datetime_iso(val):
2291
"""Adapt datetime.datetime to timezone-naive ISO 8601 date."""
2292
- return val.isoformat()
+ return val.replace(tzinfo=None).isoformat()
2293
2294
def adapt_datetime_epoch(val):
2295
"""Adapt datetime.datetime to Unix timestamp."""
0 commit comments