Skip to content

Commit 7d74850

Browse files
committed
Cleanup timezone doctstring for pylint
1 parent 89765af commit 7d74850

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_io/adafruit_io.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,9 +846,10 @@ def receive_time(self, timezone: str = None):
846846
"""
847847
Returns a struct_time from the Adafruit IO Server based on the device's IP address.
848848
https://circuitpython.readthedocs.io/en/latest/shared-bindings/time/__init__.html#time.struct_time
849+
The default time returned is based on the device's IP address being geolocated,
850+
falling back to UTC if unable to be geolocated. The timezone can be manually set.
849851
850852
:param str timezone: Timezone to return time in, see https://io.adafruit.com/services/time
851-
default is based on the device's IP address being geolocated, falling back to UTC.
852853
"""
853854
path = self._compose_path("integrations/time/struct.json")
854855
if timezone is not None:

0 commit comments

Comments
 (0)