We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sqlite3
1 parent 46d32cb commit 153c957Copy full SHA for 153c957
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