ctattevin commited on
Commit
a7dbdea
·
verified ·
1 Parent(s): e0f0f0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
18
  tz = pytz.timezone(timezone)
19
  # Get current time in that timezone
20
  local_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")
21
- return f"The current local time in {timezone} is: {local_time}"
22
  except Exception as e:
23
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
24
 
 
18
  tz = pytz.timezone(timezone)
19
  # Get current time in that timezone
20
  local_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")
21
+ return f"The current local time in {timezone} provided by my 1st Agent is: {local_time}"
22
  except Exception as e:
23
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
24