Erlend E. Aasland <erlend.aasl...@innova.no> added the comment:
The sqlite3 timestamp converter is buggy, as already noted in the docs[^1]. Adding timezone support is out of the question[^2][^3][^4][^5], but fixing it to be able to discard any attached timezone info _may_ be ok; at first sight, I don't see how this could break existing applications (like, for example adding time zone support could do). I need to think it through. In the meanwhile, I suggest taking a look at the linked issues. [^1]: https://docs.python.org/3/library/sqlite3.html#default-adapters-and-converters [^2]: bpo-19065 [^3]: bpo-26651 [^4]: bpo-45858 [^5]: https://discuss.python.org/t/fixing-sqlite-timestamp-converter-to-handle-utc-offsets/10985 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com