sferaud commited on
Commit
03f5214
·
verified ·
1 Parent(s): 3097522

Updata app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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, e.g. 'America/New_York'
18
- return_country_names: If True, return a list of country names;
19
- If False, return ISO country codes.
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