Merge pull request #214 from dodohand/master

Correction to comment and debug string.
This commit is contained in:
Matt Goodrich
2020-11-25 10:22:34 -05:00
committed by GitHub
+2 -2
View File
@@ -60,10 +60,10 @@ void loop () {
Serial.print(now.unixtime() / 86400L);
Serial.println("d");
// calculate a date which is 7 days and 30 seconds into the future
// calculate a date which is 7 days, 12 hours, 30 minutes, 6 seconds into the future
DateTime future (now + TimeSpan(7,12,30,6));
Serial.print(" now + 7d + 30s: ");
Serial.print(" now + 7d + 12h + 30m + 6s: ");
Serial.print(future.year(), DEC);
Serial.print('/');
Serial.print(future.month(), DEC);