OpenSprinkler › Forums › OpenSprinkler Mobile and Web App › Resets to default settings everytime I reboot and timezone › Reply To: Resets to default settings everytime I reboot and timezone
November 16, 2015 at 12:36 am
#40765
Ray
Keymaster
sakos is correct.
To give you some more details: on OSPi, the firmware calls Linux’s time() function to obtain UTC time, and that’s offset by the time zone value stored in the settings to get your local time:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/OpenSprinkler.cpp#L299
From jeeva’s screen shot, it looks like the location is still the factory default (Boston,MA), and so the time displayed on the screen shot is UTC-5:00 time. To change it, just go to Edit Options and change the location.