We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sqlite3
1 parent f0150ac commit 3877fc0Copy full SHA for 3877fc0
Doc/library/sqlite3.rst
@@ -1095,6 +1095,12 @@ If a timestamp stored in SQLite has a fractional part longer than 6
1095
numbers, its value will be truncated to microsecond precision by the
1096
timestamp converter.
1097
1098
+.. note::
1099
+
1100
+ The default "timestamp" converter ignores UTC offsets in the database and
1101
+ always returns a naive :class:`datetime.datetime` object. To preserve UTC
1102
+ offsets in timestamps, either leave converters disabled, or register an
1103
+ offset-aware converter with :func:`register_converter`.
1104
1105
.. _sqlite3-controlling-transactions:
1106
0 commit comments