DateTime field with microsecond precision in Flask Admin

Viewed 180

I have a sqlalchemy.DateTime field in my model. In the admin page, if I open the edit page for a particular instance and I click save without changing anything, it will in fact remove the microseconds precision of the field.

Before saving: 2017-11-16 12:33:07.261537
After saving: 2017-11-16 12:33:07

How can I make the form keep the microseconds precision?

0 Answers
Related