From 8cd3b8bbf1029bbfb2434f926207933829b7014d Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 12 Oct 2021 22:51:23 +0200 Subject: [PATCH] - settings-helpers: set TZ variable after changing timezone Signed-off-by: Thilo Graf --- src/system/setting_helpers.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index 8307ca0d1..03def8c55 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -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(); }