File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -846,9 +846,10 @@ def receive_time(self, timezone: str = None):
846
846
"""
847
847
Returns a struct_time from the Adafruit IO Server based on the device's IP address.
848
848
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.
849
851
850
852
: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.
852
853
"""
853
854
path = self ._compose_path ("integrations/time/struct.json" )
854
855
if timezone is not None :
You can’t perform that action at this time.
0 commit comments