-->
Page 1 of 2

Timesetup Not Working ESP Basic 3.0.Alpha 65

PostPosted: Wed Mar 29, 2017 6:39 am
by Boxey
Timesetup (or time.setup) doesn't update the time for summertime/daylight saving

Using timesetup(0,1) or even timesetup(0,1,"0.uk.pool.ntp.org") from the documentation has no effect on the time output (which shows one hour behind in the UK).

TimeZone.dat contents is: 0.00
DaylightSavings.dat contents is: 1.00
TimeServer.dat contents is: nan

Although it doesn't seem to be writing the TimeServer info correctly, even with manually changing the DaylightSavings to read 2.00 or 3.00 still has no effect on the time output :/

Re: Timesetup Not Working ESP Basic 3.0.Alpha 65

PostPosted: Thu Mar 30, 2017 12:52 pm
by PhilTilson
I second this comment - I can't get it working either!

Phil

Re: Timesetup Not Working ESP Basic 3.0.Alpha 65

PostPosted: Sun Apr 02, 2017 12:57 am
by Mmiscool
It would seem I was using a value in steaad of a string for the time server variable internally to the eval of the time.setup() function. This should be corrected not. New build is being uploaded now.

Re: Timesetup Not Working ESP Basic 3.0.Alpha 65

PostPosted: Sun Apr 02, 2017 11:10 am
by Boxey
Thanks Mike ;)