Skip to content

Commit

Permalink
CA-389475: Update the timezone when it changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Elder-Vass authored and GeraldEV committed Mar 19, 2024
1 parent 13d1e3e commit 54baf7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions XSConsoleData.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 54baf7b

Please sign in to comment.