I have a setting using localtime () to get tm with the local time represented in it. And this is all good.
However, if I change the time zone while the application is running, it does not notice that I changed the time intervals.
Is there a way to say “look again” to update the system time zone?
I know this is probably not an ordinary case, but it is a test that tests this feature, so they want it to be supported.
source
share