Closed as not planned
Description
I had some issues with wrong date as i used that lib on an ESP32. After debugging i found, that the NTP server sends from time to time "0" as response.
So I added 3 lines to handle that issue.
NTPClient.cpp:113:
unsigned long secsSince1900 = highWord << 16 | lowWord;
if (secsSince1900 == 0 ) { // failure value!!
return false;
}
this->_currentEpoc = secsSince1900 - SEVENZYYEARS;