How to truncate datetime seconds in Flask-SQLAlchemy SQLite

后端 未结 0 685
囚心锁ツ
囚心锁ツ 2020-12-30 17:38

I have a datetime column in my SQLite database that gets updated each time a user logs in. When I query the datetime values, I get loads of digits.

2020-12-30         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题