Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,9 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 23 |
"""A tool that fetches the current local time in a specified timezone.
|
| 24 |
Args:
|
| 25 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
|
|
|
|
|
|
|
|
|
| 26 |
"""
|
| 27 |
try:
|
| 28 |
# Create timezone object
|
|
|
|
| 23 |
"""A tool that fetches the current local time in a specified timezone.
|
| 24 |
Args:
|
| 25 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
| 26 |
+
|
| 27 |
+
Returns:
|
| 28 |
+
string: A string with time using the 12-hour clock including AM/PM
|
| 29 |
"""
|
| 30 |
try:
|
| 31 |
# Create timezone object
|