Spaces:
Sleeping
Sleeping
Update250309_2110
Browse files
app.py
CHANGED
|
@@ -13,6 +13,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 13 |
"""A tool that fetches the current local time in a specified timezone.
|
| 14 |
Args:
|
| 15 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
|
|
|
|
|
|
| 16 |
"""
|
| 17 |
try:
|
| 18 |
# Create timezone object
|
|
|
|
| 13 |
"""A tool that fetches the current local time in a specified timezone.
|
| 14 |
Args:
|
| 15 |
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
| 16 |
+
Return:
|
| 17 |
+
The following Python formatted string: f"The current local time in {timezone} is: {local_time}"
|
| 18 |
"""
|
| 19 |
try:
|
| 20 |
# Create timezone object
|