I’m setting up the Real-time clock with my new DataLogger. I want to set the time zone to -4:00 (NewYork time) but when I’m in the option to set Edit the value of ‘The Time Zone offset’ it says its accepted range is [-48 to 56] but I can’t seem to type in negative numbers. Now I realize you have to type in 16 then move the cursor over and type negative; that seems a little strange to me.
Now I have the time on the device correct through Wi-Fi and I think I used that to set the time on the RTC. but now the Epoch is reading the wrong time (it’s off by 4 hours)
I have updated the firmware to 01.00.03. Am I missing something?
Hi scootergarrett, I’m looking into this.
At first glance, it looks like an issue in the underlying RTC library in how it calculates TZ offsets rather than the DataLogger code itself. In order to help me diagnose it further, can you tell me which options you have enabled in the settings in that order to provide those values being listed? I want to say it looks like iso8601, time, iso8601tz, epoch
. It would also be helpful to know the local time it was when you were doing all this.
Thanks!
Hi there,
Please update your device to v1.1.1, we fixed the bug there.
Turns out it was an issue with both the underlying library and our use of it.
https://github.com/sparkfun/SparkFun_Da … /v01.01.01