- settings-helpers: set TZ variable after changing timezone

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-10-12 22:51:23 +02:00
committed by Thilo Graf
parent 5c2c6d5f96
commit 8cd3b8bbf1

View File

@@ -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();
}