arduino-libraries / RTCZero

RTC Library for SAMD21 based boards
http://arduino.cc/en/Reference/RTC
GNU Lesser General Public License v2.1
76 stars 79 forks source link

Default date and time the the compile date/time #59

Open mgtm98 opened 4 years ago

mgtm98 commented 4 years ago

The default date and time is the compile date/time rather than 1/1/2000. the issue was by @tigoe (https://github.com/arduino-libraries/RTCZero/issues/53#issue-532749196)

drewfish commented 3 years ago

This is a neat idea.

To make it more efficient perhaps it could use char * instead of String. I added a String ctor and substring() call to a test sketch and it seemed to increase the elf size by 386 bytes (for the various String methods that were not stripped out).

CLAassistant commented 3 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.