Gintarė Zokaitytė
commited on
Commit
·
508b80b
1
Parent(s):
7f66c3d
Timestamp update
Browse files
app.py
CHANGED
|
@@ -193,7 +193,7 @@ def load_data():
|
|
| 193 |
# =============================================================================
|
| 194 |
|
| 195 |
def anonymize(name):
|
| 196 |
-
"""Convert '26 [
|
| 197 |
if name == "Others":
|
| 198 |
return "Others"
|
| 199 |
match = re.match(r"(\d+)\s+\[(.+?)\]", name)
|
|
@@ -450,6 +450,6 @@ with tab2:
|
|
| 450 |
# Footer
|
| 451 |
st.markdown("---")
|
| 452 |
st.caption(
|
| 453 |
-
f"Updated: {pd.Timestamp.now().strftime('%Y-%m-%d %H:%M:%S')} | "
|
| 454 |
"Auto-refresh: 5 min | Press 'R' to refresh"
|
| 455 |
)
|
|
|
|
| 193 |
# =============================================================================
|
| 194 |
|
| 195 |
def anonymize(name):
|
| 196 |
+
"""Convert '26 [Name Lastname]' to 'N.L. (26)'"""
|
| 197 |
if name == "Others":
|
| 198 |
return "Others"
|
| 199 |
match = re.match(r"(\d+)\s+\[(.+?)\]", name)
|
|
|
|
| 450 |
# Footer
|
| 451 |
st.markdown("---")
|
| 452 |
st.caption(
|
| 453 |
+
f"Updated: {pd.Timestamp.now(tz='+2:00').strftime('%Y-%m-%d %H:%M:%S')} | "
|
| 454 |
"Auto-refresh: 5 min | Press 'R' to refresh"
|
| 455 |
)
|