Spaces:
Sleeping
Sleeping
Update app.py
Browse files17 unmodified lines1819202122232417 unmodified linestz = pytz.timezone(timezone)# Get current time in that timezonelocal_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")return f"The current local time in {timezone} is: {local_time}"except Exception as e:return f"Error fetching time for timezone '{timezone}': {str(e)}"17 unmodified lines1819202122232417 unmodified linestz = pytz.timezone(timezone)# Get current time in that timezonelocal_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")return f"The current local time in {timezone} provided by my 1st Agent is: {local_time}"except Exception as e:return f"Error fetching time for timezone '{timezone}': {str(e)}"
app.py+1-1