From 3606a9c900622bbd28da8be27764a74c6aeed7d1 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 12 Oct 2021 22:51:23 +0200 Subject: [PATCH] settings-helpers: set TZ variable after changing timezone Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/ceadf431e695aa26b0c9271073efa655e4a1695a Author: vanhofen Date: 2021-10-12 (Tue, 12 Oct 2021) Origin message was: ------------------ - settings-helpers: set TZ variable after changing timezone --- 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 c1c6bfcfd..9685fa1eb 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -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(); }