mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
- settings-helpers: set TZ variable after changing timezone
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -595,10 +595,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