Needing timezone aware 'DateTime' columns in my 'SQLite' database, I
noticed that the aware 'datetime's I was storing in the SQLite
database in the 'DateTime(timezone=True)' columns were being stored as
naive timestamps without timezone information.

I also checked that in the source code
('sqlalchemy.dialects.sqlite.DATETIME' class) type adapter
implementation the conversion to string is omitting the timestamp, so
obviously any 'datetime's with timezone information will lose it when
persisted by 'SQLAlchemy'. Is this by design?

Thanks in advance for any feedback on this issue.

--Pedro.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to