2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-16 10:39:23 +00:00

Merge branch 'master' into async

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

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:'):