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 7a548e2 commit d6eabcdCopy full SHA for d6eabcd
Doc/library/sqlite3.rst
@@ -2307,7 +2307,7 @@ This section shows recipes for common adapters and converters.
2307
2308
def adapt_datetime_iso(val):
2309
"""Adapt datetime.datetime to timezone-naive ISO 8601 date."""
2310
- return val.isoformat()
+ return val.replace(tzinfo=None).isoformat()
2311
2312
def adapt_datetime_epoch(val):
2313
"""Adapt datetime.datetime to Unix timestamp."""
0 commit comments