2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-12 02:52:30 +00:00

Merge branch 'master' into async

This commit is contained in:
Jarrod Johnson
2024-05-30 09:29:24 -04:00

View File

@@ -378,6 +378,8 @@ def handle_request(req, make_response):
tdc = util.run(['timedatectl'])[0].split(b'\n')
except subprocess.CalledProcessError:
tdc = []
currtzvintage = time.time()
ncfg['timezone'] = currtz
for ent in tdc:
ent = ent.strip()
if ent.startswith(b'Time zone:'):