When updating from nRF connect SDK v3.0.1 to v3.1.0 we noticed a change in the clock_gettime() function.
In the old version, the clock was not reset by a reboot.
The new version does reset the clock when rebooting.
Here is a simple example:
main.c:
#include <stdio.h>
CONFIG_DATE_TIME_NTP=n
CONFIG_DATE_TIME_AUTO_UPDATE=n
CONFIG_REBOOT=y
Time: 0
Time: 10
Hello World! nrf54l15dk/nrf54l15/cpuapp
Time: 10
Time: 0
Time: 10
Hello World! nrf54l15dk/nrf54l15/cpuapp
Time: 0
