Spaces:
Sleeping
Sleeping
Updata app.py
Browse files
app.py
CHANGED
|
@@ -14,9 +14,9 @@ def countries_with_same_current_offset(timezone : str, return_country_names : bo
|
|
| 14 |
Return a list of all countries that have the same current UTC offset
|
| 15 |
as the given timezone_name.
|
| 16 |
Args :
|
| 17 |
-
timezone: A string
|
| 18 |
-
return_country_names: If True, return a list of country names;
|
| 19 |
-
|
| 20 |
:return: A list of matching country names or ISO country codes.
|
| 21 |
"""
|
| 22 |
# Current UTC time
|
|
|
|
| 14 |
Return a list of all countries that have the same current UTC offset
|
| 15 |
as the given timezone_name.
|
| 16 |
Args :
|
| 17 |
+
timezone: A string representing a valid timezone (e.g., 'America/New_York').
|
| 18 |
+
return_country_names: If True, return a list of country names; If False, return ISO country codes.
|
| 19 |
+
|
| 20 |
:return: A list of matching country names or ISO country codes.
|
| 21 |
"""
|
| 22 |
# Current UTC time
|