[issue29099] sqlite3 timestamp converter cannot handle timezone

Serhiy Storchaka report at bugs.python.org
Thu Jan 12 01:06:22 EST 2017


Serhiy Storchaka added the comment:

I think the timestamptz converter should either interpret strings without timezone as UTC (and perhaps understand the "Z" suffix as sqlite3 date() function) or raises an error. It should never return naive datetime.

The timestamp converter needs better error reporting when get an input with a timezone.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29099>
_______________________________________


More information about the Python-bugs-list mailing list