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 317e0c9 commit e156031Copy full SHA for e156031
Doc/library/sqlite3.rst
@@ -1062,6 +1062,12 @@ If a timestamp stored in SQLite has a fractional part longer than 6
1062
numbers, its value will be truncated to microsecond precision by the
1063
timestamp converter.
1064
1065
+.. note::
1066
+
1067
+ The default "timestamp" converter ignores UTC offsets in the database and
1068
+ always returns a naive :class:`datetime.datetime` object. To preserve UTC
1069
+ offsets in timestamps, either leave converters disabled, or register an
1070
+ offset-aware converter with :func:`register_converter`.
1071
1072
.. _sqlite3-controlling-transactions:
1073
0 commit comments