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 d8ca47c commit 8ea665cCopy full SHA for 8ea665c
Doc/library/sqlite3.rst
@@ -1072,6 +1072,12 @@ If a timestamp stored in SQLite has a fractional part longer than 6
1072
numbers, its value will be truncated to microsecond precision by the
1073
timestamp converter.
1074
1075
+.. note::
1076
+
1077
+ The default "timestamp" converter ignores UTC offsets in the database and
1078
+ always returns a naive :class:`datetime.datetime` object. To preserve UTC
1079
+ offsets in timestamps, either leave converters disabled, or register an
1080
+ offset-aware converter with :func:`register_converter`.
1081
1082
.. _sqlite3-controlling-transactions:
1083
0 commit comments