-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Description
I'm using
Arduino/cores/esp8266/time.cpp
Line 101 in 36c369b
void configTime(int timezone_sec, int daylightOffset_sec, const char* server1, const char* server2, const char* server3) |
with
timezone_sec=0
but wondering about that the time after this call is 8 hours in front.
I'm not a c(++) expert, but could it be, that the following as no affect?
Arduino/cores/esp8266/sntp-lwip2.cpp
Line 440 in 36c369b
time_zone = timezone; |
because of the static declaration of
time_zone
inArduino/cores/esp8266/sntp-lwip2.cpp
Line 103 in 36c369b
static sint32 time_zone = 8 * (60 * 60); // espressif HQ's default timezone |
Metadata
Metadata
Assignees
Labels
No labels