From bfa9025119e0f14d42094c6b6fee1589c87ad9c3 Mon Sep 17 00:00:00 2001 From: Gerald Elder-Vass Date: Tue, 19 Mar 2024 14:57:36 +0000 Subject: [PATCH] CA-389475: Update the timezone when it changes --- XSConsoleData.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/XSConsoleData.py b/XSConsoleData.py index d68f9f0..9cbd762 100644 --- a/XSConsoleData.py +++ b/XSConsoleData.py @@ -903,6 +903,8 @@ def TimezoneSet(self, inTimezone): cfg.info["ZONE"] = inTimezone cfg.write('/etc/sysconfig/clock') + time.tzset() + def CurrentTimeString(self): return getoutput('/bin/date -R')