firmware ESP Basic 3.0.Alpha 62
Operator Time.setup()
I manually prescribe data files
[ FILE MANAGER ] [Edit]
/data/TimeZone.dat
+3
/data/DaylightSavings.dat
0
/data/TimeServer.dat
time-a.nist.gov
I execute a program
delay 1000
print time()
The time is displayed correctly. According to time zone +3, from the server time-a.nist.gov
I execute a program
time.setup("+3", "0", "time-a.nist.gov")
delay 1000
print time()
The time is displayed incorrectly. According to time zone 0, the default server.
The contents of the file changes!
/data/TimeZone.dat
nan
/data/DaylightSavings.dat
nan
/data/TimeServer.dat
nan