adafruit / Adafruit_CircuitPython_NTP

Network Time Protocol (NTP) Helper for CircuitPython
MIT License
9 stars 18 forks source link

Fixed incorrect type definition for tz_offset parameter. #30

Closed joshua-beck-0908 closed 1 year ago

joshua-beck-0908 commented 1 year ago

Fixed a bug where tz_offset is declared as an int instead of a float in contrast with the docstring. This bug made it impossible to get the correct local time for those using a timezone not aligned to a whole hour.