wlchee commited on
Commit
cc9f39d
·
verified ·
1 Parent(s): ec84692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ class CurrentTimeTool(Tool):
30
  }
31
  self.output_type="string"
32
 
33
- def forward(self, timezone: str) -> str:
34
  try:
35
  tz = pytz.timezone(timezone)
36
  local_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")
 
30
  }
31
  self.output_type="string"
32
 
33
+ def forward(self, timezone: str) -> str:
34
  try:
35
  tz = pytz.timezone(timezone)
36
  local_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")