spoqa / sqlalchemy-utc

SQLAlchemy type to store aware datetime values
https://pypi.python.org/pypi/SQLAlchemy-Utc
MIT License
101 stars 20 forks source link

Add milliseconds to SQLite datetimes #12

Closed ItachiSan closed 3 years ago

ItachiSan commented 3 years ago

The SQLite DATETIME() method does not provide milliseconds nor has a switch for toggling them. This is overall inconvenient. By calling correctly STRFTIME(), we can have the milliseconds information appropriately added.

In addition, the CI configuration file was updated to support newer Python and SQLAlchemy versions.

ItachiSan commented 3 years ago

I can definitely do that! How much of an overhead should I have? 0.5 seconds?

ItachiSan commented 3 years ago

Hi, is there any issue with the current pull request? I was expecting this to be merged sooner or later.

pbzweihander commented 3 years ago

@Jhuni0123 Could you review and merge this PR?