Skip to content

get_local_time improvements #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

makermelissa
Copy link
Collaborator

Fixes #16. This adds a couple goodies. get_strftime allows users to pass a custom format to the strftime service. To make it easier for users, I added a very basic url_encode function that will convert special characters to url friendly ones. We can add to it later, but I wanted to keep memory usage minimal.

I converted get_local_time to make use of this function so users can continue to use it without breaking anything.

@makermelissa makermelissa requested a review from a team March 16, 2021 01:16
@makermelissa makermelissa merged commit 3d1fbac into adafruit:main Mar 16, 2021
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Have get_local_time() Do Something With UTC Offset
2 participants