Skip to content
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

getFormattedDate, getMonth and getYear missed in v3.2.1 #219

Closed
nricciardi opened this issue Nov 23, 2024 · 4 comments
Closed

getFormattedDate, getMonth and getYear missed in v3.2.1 #219

nricciardi opened this issue Nov 23, 2024 · 4 comments
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@nricciardi
Copy link

I'm using version 3.2.1, but there aren't getFormattedDate, getMonth and getYear methods.

error: 'class NTPClient' has no member named 'getFormattedDate'

Is implementation planned?

@per1234 per1234 self-assigned this Nov 23, 2024
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Nov 23, 2024
@per1234
Copy link
Contributor

per1234 commented Nov 23, 2024

I see we already have requests for this features at #29, #86, #113, and #139.

So I'll close this as a duplicate.

@nricciardi. In the future, please take the time to search the issue tracker for existing requests before you submit an issue.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2024
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Nov 23, 2024
@nricciardi
Copy link
Author

I have searched, but all other issues don't have any progression in new versions, so I thought that the methods missed was an error.

@manasouza
Copy link

@nricciardi there's a workaround for getMonth and getYear: #36 (comment)

@leodrivera
Copy link

leodrivera commented Nov 25, 2024

I've released the PR that addresses it and much more, through the method getFormattedDateTime

#207

Unfortunately, the project seems to be inactive, so if you want to use it, you should use the version from the branch I made the PR.

@arduino-libraries arduino-libraries locked as resolved and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

4 participants