From df9b5071024e92977179ce38beb2b60342763a49 Mon Sep 17 00:00:00 2001 From: biver Date: Sun, 24 Apr 2022 23:32:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D0=BC=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D0=B2=D0=B5=D1=80=D1=82=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8=20=D0=B3=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/classes/IoTRTC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/IoTRTC.cpp b/src/classes/IoTRTC.cpp index 638f8d20..0c310fdb 100644 --- a/src/classes/IoTRTC.cpp +++ b/src/classes/IoTRTC.cpp @@ -29,7 +29,7 @@ uint8_t iarduino_RTC_NTP::funcReadTimeIndex(uint8_t i) { case 2: return funcConvertNumToCode(localTimeVar.tm_hour); case 3: return funcConvertNumToCode(localTimeVar.tm_mday); case 4: return funcConvertNumToCode(localTimeVar.tm_mon+1); - case 5: return funcConvertNumToCode(localTimeVar.tm_year); + case 5: return funcConvertNumToCode(localTimeVar.tm_year-100); case 6: return funcConvertNumToCode(localTimeVar.tm_wday); }