[issue45335] Default TIMESTAMP converter in sqlite3 ignores time zone

2021-10-04 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Replacing the timestamp converter with datetime.datetime.fromisoformat sounds good to me. -- ___ Python tracker ___ _

[issue45335] Default TIMESTAMP converter in sqlite3 ignores time zone

2021-10-04 Thread Florian Obersteiner
Change by Florian Obersteiner : -- nosy: +MrFuppes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue45335] Default TIMESTAMP converter in sqlite3 ignores time zone

2021-10-03 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10, erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue45335] Default TIMESTAMP converter in sqlite3 ignores time zone

2021-10-02 Thread Ian Fisher
Ian Fisher added the comment: Substitute "UTC offset" for "time zone" in my comment above. I have attached a minimal Python program demonstrating data loss from this bug. -- Added file: https://bugs.python.org/file50324/timestamp.py ___ Python trac

[issue45335] Default TIMESTAMP converter in sqlite3 ignores time zone

2021-09-30 Thread Ian Fisher
New submission from Ian Fisher : The SQLite converter that the sqlite3 library automatically registers for TIMESTAMP columns (https://github.com/python/cpython/blob/main/Lib/sqlite3/dbapi2.py#L66) ignores the time zone even if it is present and always returns a naive datetime object. I think