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 d0597a9 commit b6950adCopy full SHA for b6950ad
src/utility/time/TimeService.cpp
@@ -107,12 +107,14 @@ unsigned long TimeService::getTime()
107
108
void TimeService::setTimeZoneData(long offset, unsigned long dst_until)
109
{
110
- if(_timezone_offset != offset)
+ if(_timezone_offset != offset) {
111
DEBUG_VERBOSE("ArduinoIoTCloudTCP::%s tz_offset: [%d]", __FUNCTION__, offset);
112
+ }
113
_timezone_offset = offset;
114
- if(_timezone_dst_until != dst_until)
115
+ if(_timezone_dst_until != dst_until) {
116
DEBUG_VERBOSE("ArduinoIoTCloudTCP::%s tz_dst_unitl: [%ul]", __FUNCTION__, dst_until);
117
118
_timezone_dst_until = dst_until;
119
120
_is_tz_configured = true;
0 commit comments