arduino-libraries / NTPClient

Connect to a NTP server
533 stars 366 forks source link

Missing method #196

Closed jdavid54 closed 9 months ago

jdavid54 commented 9 months ago

The original method included method String getFormattedDate(unsigned long secs = 0); which then calls String getFormattedTime(unsigned long secs = 0);

Why does this version 3.2.1 exclude getFormattedDate and change to getFormattedTime() const ?

I have changed the 3 files (h, cpp, keywords.txt) and zip for a new library. NTPClient-3.2.1_modified.zip

per1234 commented 9 months ago

Hi @jdavid54. There never was such a method in this library. If you saw one before you must have been using a different library or a unofficial modified version of the library.

There are several proposals for adding such a capability to the library: