Explorar o código

时间格式问题

zhaoqingang hai 1 ano
pai
achega
6bc379d8e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/models/dialog_model.py

+ 1 - 1
app/models/dialog_model.py

@@ -57,6 +57,6 @@ class ConversationModel(Base):
         return {
             'id': self.id,
             'updated_time': self.update_time,
-            'update_date': self.update_time.strftime('%Y-%m-%d %H:%M:%S'),
+            'update_date': self.update_date.strftime('%Y-%m-%d %H:%M:%S'),
             'name': self.name,
         }