You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In example at this path esp-idf\examples\protocols\sntp, when it tries to get the "Shanghai" time, the time zone actually is wrongly set.
Currently it is
setenv("TZ", "CST-8CDT-9,M4.2.0/2,M9.2.0/3", 1);
However it should be CST-8CDT-8, I suggest correct this tiny bug.
The text was updated successfully, but these errors were encountered:
FayeY
changed the title
sntp example code bug
[TW#12228] sntp example code bug
May 3, 2017
In example at this path esp-idf\examples\protocols\sntp, when it tries to get the "Shanghai" time, the time zone actually is wrongly set.
Currently it is
setenv("TZ", "CST-8CDT-9,M4.2.0/2,M9.2.0/3", 1);
However it should be CST-8CDT-8, I suggest correct this tiny bug.
The text was updated successfully, but these errors were encountered: