Hi,
I noticed something strange while developing with the nRF9160 modem's RTC. Here's the sequence of events
- Connect cellular
- Get time from NTP server and initialize modem RTC with it. AT+CCLK="19/12/06,20:20:10+00"
- Disconnect cellular
- Read time from modem RTC with AT+CCLK? Observe correct time (+CCLK: "19/12/06,20:20:10+00")
- Connect cellular
- Read time from modem RTC with AT+CCLK? Observe incorrect time. (+CCLK: "19/12/06,20:20:19-20")
It looks like the modem RTC updates the time zone identifier in the datetime string without adjusting the time. This looks like a bug to me. If I see a timezone in a datetime string, I would expect the value displayed to be in local time, not UTC.
This is on modem firmware 1.1.
Best regards,
Jeff