Ziyou Li commited on
Commit
1071eb4
·
1 Parent(s): 9ea796e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def get_row():
38
  vis = json_response_smhi["timeSeries"][0]["parameters"][9]["values"][0] # Visibility
39
 
40
  # Use current time
41
- referenceTime = time.time().strftime("%m/%d/%Y %H:%M:%S")
42
 
43
  row ={"referenceTime": referenceTime,
44
  "temperature": t,
 
38
  vis = json_response_smhi["timeSeries"][0]["parameters"][9]["values"][0] # Visibility
39
 
40
  # Use current time
41
+ referenceTime = str(Timestamp(time.time()))
42
 
43
  row ={"referenceTime": referenceTime,
44
  "temperature": t,