Hi,
I have a question concerning time zone support in nRF SDK >= 1.9.1 for nrf9160.
I'm trying to implement an LwM2M client that should be able to convert a UTC datetime to a local datetime. The time zone information is given by the user via uart. The device could be offline so I need to compute this locally.
I've already asked in the Zephyr forum and was told that Zephyr does support time zone conversions.
Now I've tried to implement this using the Zephyr (newlibc) functions setenv and tzset. Unfortunately those functions are not available to me since I cannot select the config symbols POSIX_API and NET_SOCKETS_POSIX_NAMES at the same time. The latter is required for LwM2M.
Is there a solution to this problem?
If not, has anyone successfully included an external library for time zone conversion?
Thanks in advance.
Best Regards