Releases: adafruit/Adafruit_CircuitPython_NTP
Add Timezone Offset
This release:
- #10 Adds optional timezone offset for calls to
set_time
. Thanks @theelectricmayhem!
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
1.1.0 - Upgrade to latest Pylint, implement Black formatting
We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.
- Remove pinned Pylint version number from build.yml file
- Synced
.pylintrc
file to match Adafruit standard - Ran upgraded Pylint and applied any changes or new disables necessary
- Ran Black formatter and allowed application of changes across entire repo
For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-ntp
.
Read the docs for info on how to use it.
1.0.2 - Changed CI from Travis to GitHub Actions
This release includes:
- Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-ntp
.
Read the docs for info on how to use it.
Fixes invalid get_time calls
- Adds
valid_time
property forset_time
calls from code to detect a possible error raised by ESP32SPI byget_time call
, thanks @jerryneedell for the fix within ESP32SPI! - Modified example to reflect use of this property
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Initial Release - CircuitPython NTP
Network Time Protocol (NTP) helper for CircuitPython. Calls to set_time
backs the time.time()
and time.localtime()
functions using the "local time".
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.