mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +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());
|
fprintf(f, "%s\n", zone.c_str());
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
cmd = ":" + zone;
|
cmd = ":" + zone;
|
||||||
setenv("TZ", cmd.c_str(), 1);
|
setenv("TZ", cmd.c_str(), 1);
|
||||||
#endif
|
|
||||||
tzset();
|
tzset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user