settings-helpers: set TZ variable after changing timezone

Origin commit data
------------------
Branch: ni/coolstream
Commit: ceadf431e6
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-12 (Tue, 12 Oct 2021)

Origin message was:
------------------
- settings-helpers: set TZ variable after changing timezone

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-10-12 22:51:23 +02:00
parent 08e356dae7
commit 8d92f8a734

View File

@@ -633,10 +633,8 @@ bool CTZChangeNotifier::changeNotify(const neutrino_locale_t, void * Data)
fprintf(f, "%s\n", zone.c_str());
fclose(f);
}
#if 0
cmd = ":" + zone;
setenv("TZ", cmd.c_str(), 1);
#endif
tzset();
}