Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def get_time_zone_string(local_time: datetime, timezone:str) -> str:
|
|
49 |
"""
|
50 |
try:
|
51 |
local_time = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
52 |
-
return f"Local time in {timezone} is {local_time}
|
53 |
except Exception as e:
|
54 |
return f"Error converting '{local_time}' to string: {str(e)}"
|
55 |
|
|
|
49 |
"""
|
50 |
try:
|
51 |
local_time = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
52 |
+
return f"Local time in {timezone} is {local_time}"
|
53 |
except Exception as e:
|
54 |
return f"Error converting '{local_time}' to string: {str(e)}"
|
55 |
|