time (via sntp calls or via time()) not right ?

I wrote an app in two versions. It's supposed to switch a light on and off to spoof burglars.
The one version is with time() and configTime(), the other uses the sntp_ calls.
Both seem to forget about the timezone after a while. At first the clock is right, a couple of hours later the device seems to think it's in London.
Any clues ?
The one version is with time() and configTime(), the other uses the sntp_ calls.
Both seem to forget about the timezone after a while. At first the clock is right, a couple of hours later the device seems to think it's in London.
Any clues ?