We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52d001 commit 74cf0b2Copy full SHA for 74cf0b2
src/utility/time/TimeService.cpp
@@ -93,7 +93,12 @@ unsigned long TimeService::getTime()
93
94
void TimeService::setTimeZoneData(long offset, unsigned long dst_until)
95
{
96
+ if(_timezone_offset != offset)
97
+ DEBUG_DEBUG("ArduinoIoTCloudTCP::%s tz_offset: [%d]", __FUNCTION__, offset);
98
_timezone_offset = offset;
99
+
100
+ if(_timezone_dst_until != dst_until)
101
+ DEBUG_DEBUG("ArduinoIoTCloudTCP::%s tz_dst_unitl: [%ul]", __FUNCTION__, dst_until);
102
_timezone_dst_until = dst_until;
103
}
104
0 commit comments