Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
|
2 |
-
|
3 |
import streamlit as st
|
4 |
import pandas as pd
|
5 |
import numpy as np
|
@@ -55,8 +54,7 @@ def asubmit(aparam):
|
|
55 |
a24hour = int(time.strftime("%H",anow))
|
56 |
aminute = int(time.strftime("%M",anow))
|
57 |
asecond = int(time.strftime("%S",anow))
|
58 |
-
|
59 |
-
acontainer4.write(("%s TEST %s").format(atimezone, os.environ['TZ']))
|
60 |
os.environ['TZ'] = atimezone
|
61 |
time.tzset()
|
62 |
|
|
|
1 |
|
|
|
2 |
import streamlit as st
|
3 |
import pandas as pd
|
4 |
import numpy as np
|
|
|
54 |
a24hour = int(time.strftime("%H",anow))
|
55 |
aminute = int(time.strftime("%M",anow))
|
56 |
asecond = int(time.strftime("%S",anow))
|
57 |
+
acontainer4.write(("{}-{}-{} {}:{}:{}").format(ayear,amonth,amonthday,a24hour,aminute,asecond))
|
|
|
58 |
os.environ['TZ'] = atimezone
|
59 |
time.tzset()
|
60 |
|