arduino-libraries / NTPClient

Connect to a NTP server
554 stars 376 forks source link

Update NTPClient.h #208

Open drovosekov opened 5 months ago

drovosekov commented 5 months ago

add getDate(), getMonth(), getYear(), getFullFormattedTime(), and getTM_t()

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 5 months ago

Memory usage change @ cf242bb8721aef5d45f874ed5dc1330c50876c17

Board flash % RAM for global variables %
esp8266:esp8266:huzzah N/A N/A N/A N/A
Click for full report table Board|`examples/Advanced`
flash|%|`examples/Advanced`
RAM for global variables|%|`examples/Basic`
flash|%|`examples/Basic`
RAM for global variables|%|`examples/IsTimeSet`
flash|%|`examples/IsTimeSet`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|- `esp8266:esp8266:huzzah`|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A
Click for full report CSV ``` Board,examples/Advanced
flash,%,examples/Advanced
RAM for global variables,%,examples/Basic
flash,%,examples/Basic
RAM for global variables,%,examples/IsTimeSet
flash,%,examples/IsTimeSet
RAM for global variables,% esp8266:esp8266:huzzah,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A ```
drovosekov commented 5 months ago

Hi @per1234, I have updated the patch-2 A feature has also been added to update the config NTPClient during code runtime.

github-actions[bot] commented 5 months ago

Memory usage change @ 017a61b50ad10378818f6cc51ed6bd6e0eda5cc4

Board flash % RAM for global variables %
esp8266:esp8266:huzzah N/A N/A N/A N/A
Click for full report table Board|`examples/Advanced`
flash|%|`examples/Advanced`
RAM for global variables|%|`examples/Basic`
flash|%|`examples/Basic`
RAM for global variables|%|`examples/IsTimeSet`
flash|%|`examples/IsTimeSet`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|- `esp8266:esp8266:huzzah`|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A
Click for full report CSV ``` Board,examples/Advanced
flash,%,examples/Advanced
RAM for global variables,%,examples/Basic
flash,%,examples/Basic
RAM for global variables,%,examples/IsTimeSet
flash,%,examples/IsTimeSet
RAM for global variables,% esp8266:esp8266:huzzah,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A ```