diff --git a/examples/Change_TZ_1/Change_TZ_1.ino b/examples/Change_TZ_1/Change_TZ_1.ino index 7eb8913..7587455 100644 --- a/examples/Change_TZ_1/Change_TZ_1.ino +++ b/examples/Change_TZ_1/Change_TZ_1.ino @@ -99,7 +99,7 @@ time_t compileTime() { const time_t FUDGE(10); //fudge factor to allow for upload time, etc. (seconds, YMMV) const char *compDate = __DATE__, *compTime = __TIME__, *months = "JanFebMarAprMayJunJulAugSepOctNovDec"; - char compMon[3], *m; + char compMon[4], *m; strncpy(compMon, compDate, 3); compMon[3] = '\0'; diff --git a/examples/Change_TZ_2/Change_TZ_2.ino b/examples/Change_TZ_2/Change_TZ_2.ino index 9e3d175..0e471c0 100644 --- a/examples/Change_TZ_2/Change_TZ_2.ino +++ b/examples/Change_TZ_2/Change_TZ_2.ino @@ -85,7 +85,7 @@ time_t compileTime() { const time_t FUDGE(10); //fudge factor to allow for upload time, etc. (seconds, YMMV) const char *compDate = __DATE__, *compTime = __TIME__, *months = "JanFebMarAprMayJunJulAugSepOctNovDec"; - char compMon[3], *m; + char compMon[4], *m; strncpy(compMon, compDate, 3); compMon[3] = '\0'; diff --git a/examples/Clock/Clock.ino b/examples/Clock/Clock.ino index 5dc28a8..f943eeb 100644 --- a/examples/Clock/Clock.ino +++ b/examples/Clock/Clock.ino @@ -41,7 +41,7 @@ time_t compileTime() { const time_t FUDGE(10); // fudge factor to allow for compile time (seconds, YMMV) const char *compDate = __DATE__, *compTime = __TIME__, *months = "JanFebMarAprMayJunJulAugSepOctNovDec"; - char chMon[3], *m; + char chMon[4], *m; tmElements_t tm; strncpy(chMon, compDate, 3); diff --git a/examples/WorldClock/WorldClock.ino b/examples/WorldClock/WorldClock.ino index fa6d067..1416ffc 100644 --- a/examples/WorldClock/WorldClock.ino +++ b/examples/WorldClock/WorldClock.ino @@ -88,7 +88,7 @@ time_t compileTime() { const time_t FUDGE(10); // fudge factor to allow for compile time (seconds, YMMV) const char *compDate = __DATE__, *compTime = __TIME__, *months = "JanFebMarAprMayJunJulAugSepOctNovDec"; - char chMon[3], *m; + char chMon[4], *m; tmElements_t tm; strncpy(chMon, compDate, 3); diff --git a/library.properties b/library.properties index 795808a..6fda346 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Timezone -version=1.2.2 +version=1.2.3 author=Jack Christensen maintainer=Jack Christensen sentence=Arduino library to facilitate time zone conversions and automatic daylight saving (summer) time adjustments.