mirror of
https://github.com/KevinMidboe/TinyGSM.git
synced 2025-10-29 09:50:20 +00:00
@@ -84,7 +84,7 @@ class TinyGsmTime {
|
|||||||
isec = thisModem().streamGetIntLength(2);
|
isec = thisModem().streamGetIntLength(2);
|
||||||
char tzSign = thisModem().stream.read();
|
char tzSign = thisModem().stream.read();
|
||||||
itimezone = thisModem().streamGetIntBefore('\n');
|
itimezone = thisModem().streamGetIntBefore('\n');
|
||||||
if (strcmp(tzSign, '-') == 0) { itimezone = itimezone * -1; }
|
if (tzSign == '-') { itimezone = itimezone * -1; }
|
||||||
|
|
||||||
// Set pointers
|
// Set pointers
|
||||||
if (iyear < 2000) iyear += 2000;
|
if (iyear < 2000) iyear += 2000;
|
||||||
|
|||||||
Reference in New Issue
Block a user