mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
settings-helpers: set TZ variable after changing timezone
Origin commit data
------------------
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
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user