-
Notifications
You must be signed in to change notification settings - Fork 382
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
Allow selecting time format #3
Comments
I don't think adding time formatting to this library is a good idea. In my opinion any further time formatting should be done externally. The |
I agree with @FWeinb on this. If it doesn't exist already, a separate date formatting/parsing Arduino library would be ideal. |
This comment was marked as off-topic.
This comment was marked as off-topic.
For general clock functions, I use the excellent https://github.com/PaulStoffregen/Time library and use NTP as a time sync provider.
then:
That library does include an NTP example but I prefer using this NTPClient. |
Today i needed formatted result only on HHmm, so i modified the get formatted metodhs.
So if you agree it is a good idea create a new constructor whit a new argument passed for select some formatted result:
The text was updated successfully, but these errors were encountered: