Browse Source

add fill date

ming 3 years ago
parent
commit
2ca585c5b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -96,7 +96,7 @@ def make_ci_df():
         date_format = "%Y-%M-%d %H:%M:%S"
    
         #fdate = datetime.strptime(row['ts_date'],date_format)
-        fdate = row['time_stamp'].strftime('%Y-%m-%d')
+        fdate = row['time_stamp'].strftime('%Y-%m-%d %H時 %M分')
         
         df = df.append({'serial id':row['id'],'姓名':row['name'],'公司':row['organization']
         ,'職稱':row['position'],'電話':row['phone'],"e-mail":row['email'],'已匯款,後五碼':row['cert_last5']